Class: Recurly::Resources::ShippingMethod

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/shipping_method.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#accounting_codeString

Returns Accounting code for shipping method.

Returns:

  • (String)

    Accounting code for shipping method.



11
# File 'lib/recurly/resources/shipping_method.rb', line 11

define_attribute :accounting_code, String

#codeString

Returns The internal name used identify the shipping method.

Returns:

  • (String)

    The internal name used identify the shipping method.



15
# File 'lib/recurly/resources/shipping_method.rb', line 15

define_attribute :code, String

#created_atDateTime

Returns Created at.

Returns:

  • (DateTime)

    Created at



19
# File 'lib/recurly/resources/shipping_method.rb', line 19

define_attribute :created_at, DateTime

#deleted_atDateTime

Returns Deleted at.

Returns:

  • (DateTime)

    Deleted at



23
# File 'lib/recurly/resources/shipping_method.rb', line 23

define_attribute :deleted_at, DateTime

#idString

Returns Shipping Method ID.

Returns:

  • (String)

    Shipping Method ID



27
# File 'lib/recurly/resources/shipping_method.rb', line 27

define_attribute :id, String

#liability_gl_account_idString

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.

Returns:

  • (String)

    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

#nameString

Returns The name of the shipping method displayed to customers.

Returns:

  • (String)

    The name of the shipping method displayed to customers.



35
# File 'lib/recurly/resources/shipping_method.rb', line 35

define_attribute :name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



39
# File 'lib/recurly/resources/shipping_method.rb', line 39

define_attribute :object, String

#performance_obligation_idString

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.

Returns:

  • (String)

    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_idString

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.

Returns:

  • (String)

    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_codeString

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.

Returns:

  • (String)

    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_atDateTime

Returns Last updated at.

Returns:

  • (DateTime)

    Last updated at



55
# File 'lib/recurly/resources/shipping_method.rb', line 55

define_attribute :updated_at, DateTime