Class: ChargeBee::Subscription::EventBasedAddon

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

#charge_once ⇒ Object

Returns the value of attribute charge_once.



9
10
11
# File 'lib/chargebee/models/subscription.rb', line 9

def charge_once
  @charge_once
end

#id ⇒ Object

Returns the value of attribute id.



9
10
11
# File 'lib/chargebee/models/subscription.rb', line 9

def id
  @id
end

#on_event ⇒ Object

Returns the value of attribute on_event.



9
10
11
# File 'lib/chargebee/models/subscription.rb', line 9

def on_event
  @on_event
end

#quantity ⇒ Object

Returns the value of attribute quantity.



9
10
11
# File 'lib/chargebee/models/subscription.rb', line 9

def quantity
  @quantity
end

#service_period_in_days ⇒ Object

Returns the value of attribute service_period_in_days.



9
10
11
# File 'lib/chargebee/models/subscription.rb', line 9

def service_period_in_days
  @service_period_in_days
end

#unit_price ⇒ Object

Returns the value of attribute unit_price.



9
10
11
# File 'lib/chargebee/models/subscription.rb', line 9

def unit_price
  @unit_price
end