Class: ChargeBee::Plan::EventBasedAddon

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/plan.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_onceObject

Returns the value of attribute charge_once.



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

def charge_once
  @charge_once
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#on_eventObject

Returns the value of attribute on_event.



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

def on_event
  @on_event
end

#quantityObject

Returns the value of attribute quantity.



17
18
19
# File 'lib/chargebee/models/plan.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/plan.rb', line 17

def quantity_in_decimal
  @quantity_in_decimal
end