Class: ChargeBee::NonSubscription
- Defined in:
 - lib/chargebee/models/non_subscription.rb
 
Instance Attribute Summary collapse
- 
  
    
      #app_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute app_id.
 - 
  
    
      #charge_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute charge_id.
 - 
  
    
      #customer_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute customer_id.
 - 
  
    
      #invoice_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute invoice_id.
 
Class Method Summary collapse
- 
  
    
      .process_receipt(id, params, env = nil, headers = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
OPERATIONS ———–.
 
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
#app_id ⇒ Object
Returns the value of attribute app_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/non_subscription.rb', line 4 def app_id @app_id end  | 
  
#charge_id ⇒ Object
Returns the value of attribute charge_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/non_subscription.rb', line 4 def charge_id @charge_id end  | 
  
#customer_id ⇒ Object
Returns the value of attribute customer_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/non_subscription.rb', line 4 def customer_id @customer_id end  | 
  
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
      4 5 6  | 
    
      # File 'lib/chargebee/models/non_subscription.rb', line 4 def invoice_id @invoice_id end  | 
  
Class Method Details
.process_receipt(id, params, env = nil, headers = {}) ⇒ Object
OPERATIONS
      9 10 11  | 
    
      # File 'lib/chargebee/models/non_subscription.rb', line 9 def self.process_receipt(id, params, env=nil, headers={}) Request.send('post', uri_path("non_subscriptions",id.to_s,"one_time_purchase"), params, env, headers) end  |