Class: Recurly::Requests::Address

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/address.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Request

#attributes

Method Summary

Methods inherited from Recurly::Request

#==, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::RequestCaster

#cast_request

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#cityString

Returns City.

Returns:

  • (String)

    City



11
# File 'lib/recurly/requests/address.rb', line 11

define_attribute :city, String

#countryString

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

Returns:

  • (String)

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



15
# File 'lib/recurly/requests/address.rb', line 15

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



19
# File 'lib/recurly/requests/address.rb', line 19

define_attribute :geo_code, String

#phoneString

Returns Phone number.

Returns:

  • (String)

    Phone number



23
# File 'lib/recurly/requests/address.rb', line 23

define_attribute :phone, String

#postal_codeString

Returns Zip or postal code.

Returns:

  • (String)

    Zip or postal code.



27
# File 'lib/recurly/requests/address.rb', line 27

define_attribute :postal_code, String

#regionString

Returns State or province.

Returns:

  • (String)

    State or province.



31
# File 'lib/recurly/requests/address.rb', line 31

define_attribute :region, String

#street1String

Returns Street 1.

Returns:

  • (String)

    Street 1



35
# File 'lib/recurly/requests/address.rb', line 35

define_attribute :street1, String

#street2String

Returns Street 2.

Returns:

  • (String)

    Street 2



39
# File 'lib/recurly/requests/address.rb', line 39

define_attribute :street2, String