Class: ChargeBee::Addon
Defined Under Namespace
Classes: Tier
Instance Attribute Summary collapse
-
#accounting_category1 ⇒ Object
Returns the value of attribute accounting_category1.
-
#accounting_category2 ⇒ Object
Returns the value of attribute accounting_category2.
-
#accounting_code ⇒ Object
Returns the value of attribute accounting_code.
-
#archived_at ⇒ Object
Returns the value of attribute archived_at.
-
#avalara_sale_type ⇒ Object
Returns the value of attribute avalara_sale_type.
-
#avalara_service_type ⇒ Object
Returns the value of attribute avalara_service_type.
-
#avalara_transaction_type ⇒ Object
Returns the value of attribute avalara_transaction_type.
-
#charge_type ⇒ Object
Returns the value of attribute charge_type.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#enabled_in_portal ⇒ Object
Returns the value of attribute enabled_in_portal.
-
#id ⇒ Object
Returns the value of attribute id.
-
#invoice_name ⇒ Object
Returns the value of attribute invoice_name.
-
#invoice_notes ⇒ Object
Returns the value of attribute invoice_notes.
-
#is_shippable ⇒ Object
Returns the value of attribute is_shippable.
-
#meta_data ⇒ Object
Returns the value of attribute meta_data.
-
#name ⇒ Object
Returns the value of attribute name.
-
#period ⇒ Object
Returns the value of attribute period.
-
#period_unit ⇒ Object
Returns the value of attribute period_unit.
-
#price ⇒ Object
Returns the value of attribute price.
-
#pricing_model ⇒ Object
Returns the value of attribute pricing_model.
-
#resource_version ⇒ Object
Returns the value of attribute resource_version.
-
#shipping_frequency_period ⇒ Object
Returns the value of attribute shipping_frequency_period.
-
#shipping_frequency_period_unit ⇒ Object
Returns the value of attribute shipping_frequency_period_unit.
-
#sku ⇒ Object
Returns the value of attribute sku.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tax_code ⇒ Object
Returns the value of attribute tax_code.
-
#tax_profile_id ⇒ Object
Returns the value of attribute tax_profile_id.
-
#taxable ⇒ Object
Returns the value of attribute taxable.
-
#taxjar_product_code ⇒ Object
Returns the value of attribute taxjar_product_code.
-
#tiers ⇒ Object
Returns the value of attribute tiers.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unit ⇒ Object
Returns the value of attribute unit.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Class Method Summary collapse
- .copy(params, env = nil, headers = {}) ⇒ Object
-
.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
- .unarchive(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, #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
#accounting_category1 ⇒ Object
Returns the value of attribute accounting_category1.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def accounting_category1 @accounting_category1 end |
#accounting_category2 ⇒ Object
Returns the value of attribute accounting_category2.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def accounting_category2 @accounting_category2 end |
#accounting_code ⇒ Object
Returns the value of attribute accounting_code.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def accounting_code @accounting_code end |
#archived_at ⇒ Object
Returns the value of attribute archived_at.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def archived_at @archived_at end |
#avalara_sale_type ⇒ Object
Returns the value of attribute avalara_sale_type.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def avalara_sale_type @avalara_sale_type end |
#avalara_service_type ⇒ Object
Returns the value of attribute avalara_service_type.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def avalara_service_type @avalara_service_type end |
#avalara_transaction_type ⇒ Object
Returns the value of attribute avalara_transaction_type.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def avalara_transaction_type @avalara_transaction_type end |
#charge_type ⇒ Object
Returns the value of attribute charge_type.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def charge_type @charge_type end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def currency_code @currency_code end |
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def description @description end |
#enabled_in_portal ⇒ Object
Returns the value of attribute enabled_in_portal.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def enabled_in_portal @enabled_in_portal end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def id @id end |
#invoice_name ⇒ Object
Returns the value of attribute invoice_name.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def invoice_name @invoice_name end |
#invoice_notes ⇒ Object
Returns the value of attribute invoice_notes.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def invoice_notes @invoice_notes end |
#is_shippable ⇒ Object
Returns the value of attribute is_shippable.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def is_shippable @is_shippable end |
#meta_data ⇒ Object
Returns the value of attribute meta_data.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def @meta_data end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def name @name end |
#period ⇒ Object
Returns the value of attribute period.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def period @period end |
#period_unit ⇒ Object
Returns the value of attribute period_unit.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def period_unit @period_unit end |
#price ⇒ Object
Returns the value of attribute price.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def price @price end |
#pricing_model ⇒ Object
Returns the value of attribute pricing_model.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def pricing_model @pricing_model end |
#resource_version ⇒ Object
Returns the value of attribute resource_version.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def resource_version @resource_version end |
#shipping_frequency_period ⇒ Object
Returns the value of attribute shipping_frequency_period.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def shipping_frequency_period @shipping_frequency_period end |
#shipping_frequency_period_unit ⇒ Object
Returns the value of attribute shipping_frequency_period_unit.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def shipping_frequency_period_unit @shipping_frequency_period_unit end |
#sku ⇒ Object
Returns the value of attribute sku.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def sku @sku end |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def status @status end |
#tax_code ⇒ Object
Returns the value of attribute tax_code.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def tax_code @tax_code end |
#tax_profile_id ⇒ Object
Returns the value of attribute tax_profile_id.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def tax_profile_id @tax_profile_id end |
#taxable ⇒ Object
Returns the value of attribute taxable.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def taxable @taxable end |
#taxjar_product_code ⇒ Object
Returns the value of attribute taxjar_product_code.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def taxjar_product_code @taxjar_product_code end |
#tiers ⇒ Object
Returns the value of attribute tiers.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def tiers @tiers end |
#type ⇒ Object
Returns the value of attribute type.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def type @type end |
#unit ⇒ Object
Returns the value of attribute unit.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def unit @unit end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/chargebee/models/addon.rb', line 8 def updated_at @updated_at end |
Class Method Details
.copy(params, env = nil, headers = {}) ⇒ Object
38 39 40 |
# File 'lib/chargebee/models/addon.rb', line 38 def self.copy(params, env=nil, headers={}) Request.send('post', uri_path("addons","copy"), params, env, headers) end |
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
18 19 20 |
# File 'lib/chargebee/models/addon.rb', line 18 def self.create(params, env=nil, headers={}) Request.send('post', uri_path("addons"), params, env, headers) end |
.delete(id, env = nil, headers = {}) ⇒ Object
34 35 36 |
# File 'lib/chargebee/models/addon.rb', line 34 def self.delete(id, env=nil, headers={}) Request.send('post', uri_path("addons",id.to_s,"delete"), {}, env, headers) end |
.list(params = {}, env = nil, headers = {}) ⇒ Object
26 27 28 |
# File 'lib/chargebee/models/addon.rb', line 26 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("addons"), params, env, headers) end |
.retrieve(id, env = nil, headers = {}) ⇒ Object
30 31 32 |
# File 'lib/chargebee/models/addon.rb', line 30 def self.retrieve(id, env=nil, headers={}) Request.send('get', uri_path("addons",id.to_s), {}, env, headers) end |