Class: ChargeBee::Subscription::SubscriptionItem
- 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.
-
#billing_cycles ⇒ Object
Returns the value of attribute billing_cycles.
-
#billing_period ⇒ Object
Returns the value of attribute billing_period.
-
#billing_period_unit ⇒ Object
Returns the value of attribute billing_period_unit.
-
#charge_on_event ⇒ Object
Returns the value of attribute charge_on_event.
-
#charge_on_option ⇒ Object
Returns the value of attribute charge_on_option.
-
#charge_once ⇒ Object
Returns the value of attribute charge_once.
-
#free_quantity ⇒ Object
Returns the value of attribute free_quantity.
-
#free_quantity_in_decimal ⇒ Object
Returns the value of attribute free_quantity_in_decimal.
-
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
-
#item_type ⇒ Object
Returns the value of attribute item_type.
-
#last_calculated_at ⇒ Object
Returns the value of attribute last_calculated_at.
-
#metered_quantity ⇒ Object
Returns the value of attribute metered_quantity.
-
#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.
-
#service_period_days ⇒ Object
Returns the value of attribute service_period_days.
-
#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.
-
#usage_accumulation_reset_frequency ⇒ Object
Returns the value of attribute usage_accumulation_reset_frequency.
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/subscription.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/subscription.rb', line 5 def amount_in_decimal @amount_in_decimal end |
#billing_cycles ⇒ Object
Returns the value of attribute billing_cycles.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def billing_cycles @billing_cycles end |
#billing_period ⇒ Object
Returns the value of attribute billing_period.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def billing_period @billing_period end |
#billing_period_unit ⇒ Object
Returns the value of attribute billing_period_unit.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def billing_period_unit @billing_period_unit end |
#charge_on_event ⇒ Object
Returns the value of attribute charge_on_event.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def charge_on_event @charge_on_event end |
#charge_on_option ⇒ Object
Returns the value of attribute charge_on_option.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def charge_on_option @charge_on_option end |
#charge_once ⇒ Object
Returns the value of attribute charge_once.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def charge_once @charge_once end |
#free_quantity ⇒ Object
Returns the value of attribute free_quantity.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def free_quantity @free_quantity end |
#free_quantity_in_decimal ⇒ Object
Returns the value of attribute free_quantity_in_decimal.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def free_quantity_in_decimal @free_quantity_in_decimal end |
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def item_price_id @item_price_id end |
#item_type ⇒ Object
Returns the value of attribute item_type.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def item_type @item_type end |
#last_calculated_at ⇒ Object
Returns the value of attribute last_calculated_at.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def last_calculated_at @last_calculated_at end |
#metered_quantity ⇒ Object
Returns the value of attribute metered_quantity.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def metered_quantity @metered_quantity end |
#proration_type ⇒ Object
Returns the value of attribute proration_type.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def proration_type @proration_type end |
#quantity ⇒ Object
Returns the value of attribute quantity.
5 6 7 |
# File 'lib/chargebee/models/subscription.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/subscription.rb', line 5 def quantity_in_decimal @quantity_in_decimal end |
#service_period_days ⇒ Object
Returns the value of attribute service_period_days.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def service_period_days @service_period_days end |
#trial_end ⇒ Object
Returns the value of attribute trial_end.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def trial_end @trial_end end |
#unit_price ⇒ Object
Returns the value of attribute unit_price.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def unit_price @unit_price end |
#unit_price_in_decimal ⇒ Object
Returns the value of attribute unit_price_in_decimal.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def unit_price_in_decimal @unit_price_in_decimal end |
#usage_accumulation_reset_frequency ⇒ Object
Returns the value of attribute usage_accumulation_reset_frequency.
5 6 7 |
# File 'lib/chargebee/models/subscription.rb', line 5 def usage_accumulation_reset_frequency @usage_accumulation_reset_frequency end |