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

#nameString

Returns The name of the shipping method displayed to customers.

Returns:

  • (String)

    The name of the shipping method displayed to customers.



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

define_attribute :name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



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

define_attribute :object, 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



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

define_attribute :tax_code, String

#updated_atDateTime

Returns Last updated at.

Returns:

  • (DateTime)

    Last updated at



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

define_attribute :updated_at, DateTime