Class: ChargeBee::Subscription::Addon
- Defined in:
- lib/chargebee/models/subscription.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.
-
#id ⇒ Object
Returns the value of attribute id.
-
#proration_type ⇒ Object
Returns the value of attribute proration_type.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#quantity_in_decimal ⇒ Object
Returns the value of attribute quantity_in_decimal.
-
#remaining_billing_cycles ⇒ Object
Returns the value of attribute remaining_billing_cycles.
-
#trial_end ⇒ Object
Returns the value of attribute trial_end.
-
#unit_price ⇒ Object
Returns the value of attribute unit_price.
-
#unit_price_in_decimal ⇒ Object
Returns the value of attribute unit_price_in_decimal.
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.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def amount @amount end |
#amount_in_decimal ⇒ Object
Returns the value of attribute amount_in_decimal.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def amount_in_decimal @amount_in_decimal end |
#id ⇒ Object
Returns the value of attribute id.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def id @id end |
#proration_type ⇒ Object
Returns the value of attribute proration_type.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def proration_type @proration_type end |
#quantity ⇒ Object
Returns the value of attribute quantity.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def quantity @quantity end |
#quantity_in_decimal ⇒ Object
Returns the value of attribute quantity_in_decimal.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def quantity_in_decimal @quantity_in_decimal end |
#remaining_billing_cycles ⇒ Object
Returns the value of attribute remaining_billing_cycles.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def remaining_billing_cycles @remaining_billing_cycles end |
#trial_end ⇒ Object
Returns the value of attribute trial_end.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def trial_end @trial_end end |
#unit_price ⇒ Object
Returns the value of attribute unit_price.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def unit_price @unit_price end |
#unit_price_in_decimal ⇒ Object
Returns the value of attribute unit_price_in_decimal.
17 18 19 |
# File 'lib/chargebee/models/subscription.rb', line 17 def unit_price_in_decimal @unit_price_in_decimal end |