Class: ChargeBee::OmnichannelSubscription
- Defined in:
- lib/chargebee/models/omnichannel_subscription.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#id_at_source ⇒ Object
Returns the value of attribute id_at_source.
-
#omnichannel_subscription_items ⇒ Object
Returns the value of attribute omnichannel_subscription_items.
-
#resource_version ⇒ Object
Returns the value of attribute resource_version.
-
#source ⇒ Object
Returns the value of attribute source.
Class Method Summary collapse
- .list(params = {}, env = nil, headers = {}) ⇒ Object
- .omnichannel_transactions_for_omnichannel_subscription(id, params = {}, env = nil, headers = {}) ⇒ Object
-
.retrieve(id, 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/omnichannel_subscription.rb', line 4 def app_id @app_id end |
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4 def created_at @created_at end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4 def customer_id @customer_id end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4 def id @id end |
#id_at_source ⇒ Object
Returns the value of attribute id_at_source.
4 5 6 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4 def id_at_source @id_at_source end |
#omnichannel_subscription_items ⇒ Object
Returns the value of attribute omnichannel_subscription_items.
4 5 6 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4 def omnichannel_subscription_items @omnichannel_subscription_items end |
#resource_version ⇒ Object
Returns the value of attribute resource_version.
4 5 6 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4 def resource_version @resource_version end |
#source ⇒ Object
Returns the value of attribute source.
4 5 6 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4 def source @source end |
Class Method Details
.list(params = {}, env = nil, headers = {}) ⇒ Object
14 15 16 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 14 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("omnichannel_subscriptions"), params, env, headers) end |
.omnichannel_transactions_for_omnichannel_subscription(id, params = {}, env = nil, headers = {}) ⇒ Object
18 19 20 |
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 18 def self.omnichannel_transactions_for_omnichannel_subscription(id, params={}, env=nil, headers={}) Request.send('get', uri_path("omnichannel_subscriptions",id.to_s,"omnichannel_transactions"), params, env, headers) end |