Class: ChargeBee::InAppSubscription
- Defined in:
- lib/chargebee/models/in_app_subscription.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#invoice_id ⇒ Object
Returns the value of attribute invoice_id.
-
#plan_id ⇒ Object
Returns the value of attribute plan_id.
-
#store_status ⇒ Object
Returns the value of attribute store_status.
-
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
Class Method Summary collapse
- .import_receipt(id, params, env = nil, headers = {}) ⇒ Object
- .import_subscription(id, params, env = nil, headers = {}) ⇒ Object
-
.process_receipt(id, params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .retrieve_store_subs(id, params, env = nil, headers = {}) ⇒ Object
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/in_app_subscription.rb', line 4 def app_id @app_id end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/chargebee/models/in_app_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/in_app_subscription.rb', line 4 def invoice_id @invoice_id end |
#plan_id ⇒ Object
Returns the value of attribute plan_id.
4 5 6 |
# File 'lib/chargebee/models/in_app_subscription.rb', line 4 def plan_id @plan_id end |
#store_status ⇒ Object
Returns the value of attribute store_status.
4 5 6 |
# File 'lib/chargebee/models/in_app_subscription.rb', line 4 def store_status @store_status end |
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
4 5 6 |
# File 'lib/chargebee/models/in_app_subscription.rb', line 4 def subscription_id @subscription_id end |
Class Method Details
.import_receipt(id, params, env = nil, headers = {}) ⇒ Object
13 14 15 |
# File 'lib/chargebee/models/in_app_subscription.rb', line 13 def self.import_receipt(id, params, env=nil, headers={}) Request.send('post', uri_path("in_app_subscriptions",id.to_s,"import_receipt"), params, env, headers) end |
.import_subscription(id, params, env = nil, headers = {}) ⇒ Object
17 18 19 |
# File 'lib/chargebee/models/in_app_subscription.rb', line 17 def self.import_subscription(id, params, env=nil, headers={}) Request.send('post', uri_path("in_app_subscriptions",id.to_s,"import_subscription"), params, env, headers) end |
.process_receipt(id, params, env = nil, headers = {}) ⇒ Object
OPERATIONS
9 10 11 |
# File 'lib/chargebee/models/in_app_subscription.rb', line 9 def self.process_receipt(id, params, env=nil, headers={}) Request.send('post', uri_path("in_app_subscriptions",id.to_s,"process_purchase_command"), params, env, headers) end |