Class: Recurly::Resources::ShippingAddress

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/shipping_address.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

#account_idString

Returns Account ID.

Returns:

  • (String)

    Account ID



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

define_attribute :account_id, String

#cityString

Returns:

  • (String)


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

define_attribute :city, String

#companyString

Returns:

  • (String)


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

define_attribute :company, String

#countryString

Returns Country, 2-letter ISO 3166-1 alpha-2 code.

Returns:

  • (String)

    Country, 2-letter ISO 3166-1 alpha-2 code.



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

define_attribute :country, String

#created_atDateTime

Returns Created at.

Returns:

  • (DateTime)

    Created at



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

define_attribute :created_at, DateTime

#emailString

Returns:

  • (String)


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

define_attribute :email, String

#first_nameString

Returns:

  • (String)


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

define_attribute :first_name, String

#geo_codeString

Returns Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration.

Returns:

  • (String)

    Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration



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

define_attribute :geo_code, String

#idString

Returns Shipping Address ID.

Returns:

  • (String)

    Shipping Address ID



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

define_attribute :id, String

#last_nameString

Returns:

  • (String)


47
# File 'lib/recurly/resources/shipping_address.rb', line 47

define_attribute :last_name, String

#nicknameString

Returns:

  • (String)


51
# File 'lib/recurly/resources/shipping_address.rb', line 51

define_attribute :nickname, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



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

define_attribute :object, String

#phoneString

Returns:

  • (String)


59
# File 'lib/recurly/resources/shipping_address.rb', line 59

define_attribute :phone, String

#postal_codeString

Returns Zip or postal code.

Returns:

  • (String)

    Zip or postal code.



63
# File 'lib/recurly/resources/shipping_address.rb', line 63

define_attribute :postal_code, String

#regionString

Returns State or province.

Returns:

  • (String)

    State or province.



67
# File 'lib/recurly/resources/shipping_address.rb', line 67

define_attribute :region, String

#street1String

Returns:

  • (String)


71
# File 'lib/recurly/resources/shipping_address.rb', line 71

define_attribute :street1, String

#street2String

Returns:

  • (String)


75
# File 'lib/recurly/resources/shipping_address.rb', line 75

define_attribute :street2, String

#updated_atDateTime

Returns Updated at.

Returns:

  • (DateTime)

    Updated at



79
# File 'lib/recurly/resources/shipping_address.rb', line 79

define_attribute :updated_at, DateTime

#vat_numberString

Returns:

  • (String)


83
# File 'lib/recurly/resources/shipping_address.rb', line 83

define_attribute :vat_number, String