Class: ChargeBee::OmnichannelSubscription

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/omnichannel_subscription.rb

Defined Under Namespace

Classes: OmnichannelSubscriptionItem

Instance Attribute Summary collapse

Class Method Summary collapse

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_idObject

Returns the value of attribute app_id.



8
9
10
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 8

def app_id
  @app_id
end

#created_atObject

Returns the value of attribute created_at.



8
9
10
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 8

def created_at
  @created_at
end

#customer_idObject

Returns the value of attribute customer_id.



8
9
10
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 8

def customer_id
  @customer_id
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 8

def id
  @id
end

#id_at_sourceObject

Returns the value of attribute id_at_source.



8
9
10
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 8

def id_at_source
  @id_at_source
end

#omnichannel_subscription_itemsObject

Returns the value of attribute omnichannel_subscription_items.



8
9
10
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 8

def omnichannel_subscription_items
  @omnichannel_subscription_items
end

#sourceObject

Returns the value of attribute source.



8
9
10
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 8

def source
  @source
end

Class Method Details

.list(params = {}, env = nil, headers = {}) ⇒ Object



17
18
19
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 17

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



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

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

.retrieve(id, env = nil, headers = {}) ⇒ Object

OPERATIONS




13
14
15
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 13

def self.retrieve(id, env=nil, headers={})
  Request.send('get', uri_path("omnichannel_subscriptions",id.to_s), {}, env, headers)
end