Class: ChargeBee::Quote::LineItem

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/quote.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #to_s, uri_path

Constructor Details

This class inherits a constructor from ChargeBee::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChargeBee::Model

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def amount
  @amount
end

#amount_in_decimalObject

Returns the value of attribute amount_in_decimal.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def amount_in_decimal
  @amount_in_decimal
end

#customer_idObject

Returns the value of attribute customer_id.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def customer_id
  @customer_id
end

#date_fromObject

Returns the value of attribute date_from.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def date_from
  @date_from
end

#date_toObject

Returns the value of attribute date_to.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def date_to
  @date_to
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def description
  @description
end

#discount_amountObject

Returns the value of attribute discount_amount.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def discount_amount
  @discount_amount
end

#entity_descriptionObject

Returns the value of attribute entity_description.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def entity_description
  @entity_description
end

#entity_idObject

Returns the value of attribute entity_id.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def entity_id
  @entity_id
end

#entity_typeObject

Returns the value of attribute entity_type.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def entity_type
  @entity_type
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def id
  @id
end

#is_taxedObject

Returns the value of attribute is_taxed.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def is_taxed
  @is_taxed
end

#item_level_discount_amountObject

Returns the value of attribute item_level_discount_amount.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def item_level_discount_amount
  @item_level_discount_amount
end

#pricing_modelObject

Returns the value of attribute pricing_model.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def pricing_model
  @pricing_model
end

#quantityObject

Returns the value of attribute quantity.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def quantity
  @quantity
end

#quantity_in_decimalObject

Returns the value of attribute quantity_in_decimal.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def quantity_in_decimal
  @quantity_in_decimal
end

#subscription_idObject

Returns the value of attribute subscription_id.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def subscription_id
  @subscription_id
end

#tax_amountObject

Returns the value of attribute tax_amount.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def tax_amount
  @tax_amount
end

#tax_exempt_reasonObject

Returns the value of attribute tax_exempt_reason.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def tax_exempt_reason
  @tax_exempt_reason
end

#tax_rateObject

Returns the value of attribute tax_rate.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def tax_rate
  @tax_rate
end

#unit_amountObject

Returns the value of attribute unit_amount.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def unit_amount
  @unit_amount
end

#unit_amount_in_decimalObject

Returns the value of attribute unit_amount_in_decimal.



5
6
7
# File 'lib/chargebee/models/quote.rb', line 5

def unit_amount_in_decimal
  @unit_amount_in_decimal
end