Class: ChargeBee::Subscription::EventBasedAddon
- Defined in:
 - lib/chargebee/models/subscription.rb
 
Instance Attribute Summary collapse
- 
  
    
      #charge_once  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute charge_once.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #on_event  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute on_event.
 - 
  
    
      #quantity  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute quantity.
 - 
  
    
      #quantity_in_decimal  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute quantity_in_decimal.
 - 
  
    
      #service_period_in_days  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute service_period_in_days.
 - 
  
    
      #unit_price  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute unit_price.
 - 
  
    
      #unit_price_in_decimal  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute unit_price_in_decimal.
 
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.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def charge_once @charge_once end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def id @id end  | 
  
#on_event ⇒ Object
Returns the value of attribute on_event.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def on_event @on_event end  | 
  
#quantity ⇒ Object
Returns the value of attribute quantity.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def quantity @quantity end  | 
  
#quantity_in_decimal ⇒ Object
Returns the value of attribute quantity_in_decimal.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def quantity_in_decimal @quantity_in_decimal end  | 
  
#service_period_in_days ⇒ Object
Returns the value of attribute service_period_in_days.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def service_period_in_days @service_period_in_days end  | 
  
#unit_price ⇒ Object
Returns the value of attribute unit_price.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def unit_price @unit_price end  | 
  
#unit_price_in_decimal ⇒ Object
Returns the value of attribute unit_price_in_decimal.
      21 22 23  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 21 def unit_price_in_decimal @unit_price_in_decimal end  |