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

#charge_onceObject

Returns the value of attribute charge_once.



21
22
23
# File 'lib/chargebee/models/plan.rb', line 21

def charge_once
  @charge_once
end

#idObject

Returns the value of attribute id.



21
22
23
# File 'lib/chargebee/models/plan.rb', line 21

def id
  @id
end

#on_eventObject

Returns the value of attribute on_event.



21
22
23
# File 'lib/chargebee/models/plan.rb', line 21

def on_event
  @on_event
end

#quantityObject

Returns the value of attribute quantity.



21
22
23
# File 'lib/chargebee/models/plan.rb', line 21

def quantity
  @quantity
end

#quantity_in_decimalObject

Returns the value of attribute quantity_in_decimal.



21
22
23
# File 'lib/chargebee/models/plan.rb', line 21

def quantity_in_decimal
  @quantity_in_decimal
end