Class: ChargeBee::ItemFamily
- Defined in:
- lib/chargebee/models/item_family.rb
Instance Attribute Summary collapse
-
#business_entity_id ⇒ Object
Returns the value of attribute business_entity_id.
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#resource_version ⇒ Object
Returns the value of attribute resource_version.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Class Method Summary collapse
-
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .delete(id, env = nil, headers = {}) ⇒ Object
- .list(params = {}, env = nil, headers = {}) ⇒ Object
- .retrieve(id, env = nil, headers = {}) ⇒ Object
- .update(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
#business_entity_id ⇒ Object
Returns the value of attribute business_entity_id.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def business_entity_id @business_entity_id end |
#channel ⇒ Object
Returns the value of attribute channel.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def channel @channel end |
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def name @name end |
#resource_version ⇒ Object
Returns the value of attribute resource_version.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def resource_version @resource_version end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/chargebee/models/item_family.rb', line 4 def updated_at @updated_at end |
Class Method Details
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
9 10 11 |
# File 'lib/chargebee/models/item_family.rb', line 9 def self.create(params, env=nil, headers={}) Request.send('post', uri_path("item_families"), params, env, headers) end |
.delete(id, env = nil, headers = {}) ⇒ Object
25 26 27 |
# File 'lib/chargebee/models/item_family.rb', line 25 def self.delete(id, env=nil, headers={}) Request.send('post', uri_path("item_families",id.to_s,"delete"), {}, env, headers) end |
.list(params = {}, env = nil, headers = {}) ⇒ Object
17 18 19 |
# File 'lib/chargebee/models/item_family.rb', line 17 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("item_families"), params, env, headers) end |