Class: ChargeBee::Invoice::LineItem
- Defined in:
- lib/chargebee/models/invoice.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#amount_in_decimal ⇒ Object
Returns the value of attribute amount_in_decimal.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#date_from ⇒ Object
Returns the value of attribute date_from.
-
#date_to ⇒ Object
Returns the value of attribute date_to.
-
#description ⇒ Object
Returns the value of attribute description.
-
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
-
#entity_description ⇒ Object
Returns the value of attribute entity_description.
-
#entity_id ⇒ Object
Returns the value of attribute entity_id.
-
#entity_type ⇒ Object
Returns the value of attribute entity_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_taxed ⇒ Object
Returns the value of attribute is_taxed.
-
#item_level_discount_amount ⇒ Object
Returns the value of attribute item_level_discount_amount.
-
#pricing_model ⇒ Object
Returns the value of attribute pricing_model.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#quantity_in_decimal ⇒ Object
Returns the value of attribute quantity_in_decimal.
-
#reference_line_item_id ⇒ Object
Returns the value of attribute reference_line_item_id.
-
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
-
#tax_amount ⇒ Object
Returns the value of attribute tax_amount.
-
#tax_exempt_reason ⇒ Object
Returns the value of attribute tax_exempt_reason.
-
#tax_rate ⇒ Object
Returns the value of attribute tax_rate.
-
#unit_amount ⇒ Object
Returns the value of attribute unit_amount.
-
#unit_amount_in_decimal ⇒ Object
Returns the value of attribute unit_amount_in_decimal.
-
#usage_percentage ⇒ Object
Returns the value of attribute usage_percentage.
Method Summary
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #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
#amount ⇒ Object
Returns the value of attribute amount.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def amount @amount end |
#amount_in_decimal ⇒ Object
Returns the value of attribute amount_in_decimal.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def amount_in_decimal @amount_in_decimal end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def customer_id @customer_id end |
#date_from ⇒ Object
Returns the value of attribute date_from.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def date_from @date_from end |
#date_to ⇒ Object
Returns the value of attribute date_to.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def date_to @date_to end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def description @description end |
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def discount_amount @discount_amount end |
#entity_description ⇒ Object
Returns the value of attribute entity_description.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def entity_description @entity_description end |
#entity_id ⇒ Object
Returns the value of attribute entity_id.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def entity_id @entity_id end |
#entity_type ⇒ Object
Returns the value of attribute entity_type.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def entity_type @entity_type end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def id @id end |
#is_taxed ⇒ Object
Returns the value of attribute is_taxed.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def is_taxed @is_taxed end |
#item_level_discount_amount ⇒ Object
Returns the value of attribute item_level_discount_amount.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def item_level_discount_amount @item_level_discount_amount end |
#pricing_model ⇒ Object
Returns the value of attribute pricing_model.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def pricing_model @pricing_model end |
#quantity ⇒ Object
Returns the value of attribute quantity.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def quantity @quantity end |
#quantity_in_decimal ⇒ Object
Returns the value of attribute quantity_in_decimal.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def quantity_in_decimal @quantity_in_decimal end |
#reference_line_item_id ⇒ Object
Returns the value of attribute reference_line_item_id.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def reference_line_item_id @reference_line_item_id end |
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def subscription_id @subscription_id end |
#tax_amount ⇒ Object
Returns the value of attribute tax_amount.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def tax_amount @tax_amount end |
#tax_exempt_reason ⇒ Object
Returns the value of attribute tax_exempt_reason.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def tax_exempt_reason @tax_exempt_reason end |
#tax_rate ⇒ Object
Returns the value of attribute tax_rate.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def tax_rate @tax_rate end |
#unit_amount ⇒ Object
Returns the value of attribute unit_amount.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def unit_amount @unit_amount end |
#unit_amount_in_decimal ⇒ Object
Returns the value of attribute unit_amount_in_decimal.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def unit_amount_in_decimal @unit_amount_in_decimal end |
#usage_percentage ⇒ Object
Returns the value of attribute usage_percentage.
5 6 7 |
# File 'lib/chargebee/models/invoice.rb', line 5 def usage_percentage @usage_percentage end |