Class: ChargeBee::OmnichannelSubscription

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

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.



4
5
6
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4

def app_id
  @app_id
end

#created_atObject

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_idObject

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

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 4

def id
  @id
end

#id_at_sourceObject

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_itemsObject

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_versionObject

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

#sourceObject

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

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

OPERATIONS




10
11
12
# File 'lib/chargebee/models/omnichannel_subscription.rb', line 10

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