Class: ChargeBee::Subscription::Addon

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, #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.



17
18
19
# File 'lib/chargebee/models/subscription.rb', line 17

def amount
  @amount
end

#amount_in_decimalObject

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

#idObject

Returns the value of attribute id.



17
18
19
# File 'lib/chargebee/models/subscription.rb', line 17

def id
  @id
end

#quantityObject

Returns the value of attribute quantity.



17
18
19
# File 'lib/chargebee/models/subscription.rb', line 17

def quantity
  @quantity
end

#quantity_in_decimalObject

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_cyclesObject

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_endObject

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_priceObject

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_decimalObject

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