Class: Recurly::Resources::ShippingMethod
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::ShippingMethod
- Defined in:
- lib/recurly/resources/shipping_method.rb
Instance Attribute Summary collapse
-
#accounting_code ⇒ String
Accounting code for shipping method.
-
#code ⇒ String
The internal name used identify the shipping method.
-
#created_at ⇒ DateTime
Created at.
-
#deleted_at ⇒ DateTime
Deleted at.
-
#id ⇒ String
Shipping Method ID.
-
#liability_gl_account_id ⇒ String
The ID of a general ledger account.
-
#name ⇒ String
The name of the shipping method displayed to customers.
-
#object ⇒ String
Object type.
-
#performance_obligation_id ⇒ String
The ID of a performance obligation.
-
#revenue_gl_account_id ⇒ String
The ID of a general ledger account.
-
#tax_code ⇒ String
Used by Avalara, Vertex, and Recurly’s built-in tax feature.
-
#updated_at ⇒ DateTime
Last updated at.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#accounting_code ⇒ String
Returns Accounting code for shipping method.
11 |
# File 'lib/recurly/resources/shipping_method.rb', line 11 define_attribute :accounting_code, String |
#code ⇒ String
Returns The internal name used identify the shipping method.
15 |
# File 'lib/recurly/resources/shipping_method.rb', line 15 define_attribute :code, String |
#created_at ⇒ DateTime
Returns Created at.
19 |
# File 'lib/recurly/resources/shipping_method.rb', line 19 define_attribute :created_at, DateTime |
#deleted_at ⇒ DateTime
Returns Deleted at.
23 |
# File 'lib/recurly/resources/shipping_method.rb', line 23 define_attribute :deleted_at, DateTime |
#id ⇒ String
Returns Shipping Method ID.
27 |
# File 'lib/recurly/resources/shipping_method.rb', line 27 define_attribute :id, String |
#liability_gl_account_id ⇒ String
Returns The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
31 |
# File 'lib/recurly/resources/shipping_method.rb', line 31 define_attribute :liability_gl_account_id, String |
#name ⇒ String
Returns The name of the shipping method displayed to customers.
35 |
# File 'lib/recurly/resources/shipping_method.rb', line 35 define_attribute :name, String |
#object ⇒ String
Returns Object type.
39 |
# File 'lib/recurly/resources/shipping_method.rb', line 39 define_attribute :object, String |
#performance_obligation_id ⇒ String
Returns The ID of a performance obligation. Performance obligations are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
43 |
# File 'lib/recurly/resources/shipping_method.rb', line 43 define_attribute :performance_obligation_id, String |
#revenue_gl_account_id ⇒ String
Returns The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
47 |
# File 'lib/recurly/resources/shipping_method.rb', line 47 define_attribute :revenue_gl_account_id, String |
#tax_code ⇒ String
Returns Used by Avalara, Vertex, and Recurly’s built-in tax feature. The tax code values are specific to each tax system. If you are using Recurly’s built-in taxes the values are: - `FR` – Common Carrier FOB Destination - `FR022000` – Common Carrier FOB Origin - `FR020400` – Non Common Carrier FOB Destination - `FR020500` – Non Common Carrier FOB Origin - `FR010100` – Delivery by Company Vehicle Before Passage of Title - `FR010200` – Delivery by Company Vehicle After Passage of Title - `NT` – Non-Taxable.
51 |
# File 'lib/recurly/resources/shipping_method.rb', line 51 define_attribute :tax_code, String |
#updated_at ⇒ DateTime
Returns Last updated at.
55 |
# File 'lib/recurly/resources/shipping_method.rb', line 55 define_attribute :updated_at, DateTime |