Class: ChargeBee::Subscription::SubscriptionItem

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

Instance Attribute Summary collapse

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

#amountObject

Returns the value of attribute amount.



5
6
7
# File 'lib/chargebee/models/subscription.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/subscription.rb', line 5

def amount_in_decimal
  @amount_in_decimal
end

#billing_cyclesObject

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_periodObject

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_unitObject

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_eventObject

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_optionObject

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_onceObject

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_quantityObject

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_decimalObject

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_idObject

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_typeObject

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_atObject

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_quantityObject

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_typeObject

Returns the value of attribute proration_type.



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

def proration_type
  @proration_type
end

#quantityObject

Returns the value of attribute quantity.



5
6
7
# File 'lib/chargebee/models/subscription.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/subscription.rb', line 5

def quantity_in_decimal
  @quantity_in_decimal
end

#service_period_daysObject

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_endObject

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_priceObject

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_decimalObject

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_frequencyObject

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