Class: ChargeBee::PriceVariant
- Defined in:
- lib/chargebee/models/price_variant.rb
Defined Under Namespace
Classes: Attribute
Instance Attribute Summary collapse
-
#archived_at ⇒ Object
Returns the value of attribute archived_at.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#business_entity_id ⇒ Object
Returns the value of attribute business_entity_id.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#external_name ⇒ Object
Returns the value of attribute external_name.
-
#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.
-
#variant_group ⇒ Object
Returns the value of attribute variant_group.
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
#archived_at ⇒ Object
Returns the value of attribute archived_at.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def archived_at @archived_at end |
#attributes ⇒ Object
Returns the value of attribute attributes.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def attributes @attributes end |
#business_entity_id ⇒ Object
Returns the value of attribute business_entity_id.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def business_entity_id @business_entity_id end |
#created_at ⇒ Object
Returns the value of attribute created_at.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def description @description end |
#external_name ⇒ Object
Returns the value of attribute external_name.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def external_name @external_name end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def name @name end |
#resource_version ⇒ Object
Returns the value of attribute resource_version.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def resource_version @resource_version end |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def updated_at @updated_at end |
#variant_group ⇒ Object
Returns the value of attribute variant_group.
8 9 10 |
# File 'lib/chargebee/models/price_variant.rb', line 8 def variant_group @variant_group end |
Class Method Details
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
14 15 16 |
# File 'lib/chargebee/models/price_variant.rb', line 14 def self.create(params, env=nil, headers={}) Request.send('post', uri_path("price_variants"), params, env, headers) end |
.delete(id, env = nil, headers = {}) ⇒ Object
26 27 28 |
# File 'lib/chargebee/models/price_variant.rb', line 26 def self.delete(id, env=nil, headers={}) Request.send('post', uri_path("price_variants",id.to_s,"delete"), {}, env, headers) end |
.list(params = {}, env = nil, headers = {}) ⇒ Object
30 31 32 |
# File 'lib/chargebee/models/price_variant.rb', line 30 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("price_variants"), params, env, headers) end |