Class: Recurly::Resources::AddressWithName

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

#cityString

Returns City.

Returns:

  • (String)

    City



11
# File 'lib/recurly/resources/address_with_name.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/resources/address_with_name.rb', line 15

define_attribute :country, String

#first_nameString

Returns First name.

Returns:

  • (String)

    First name



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

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



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

define_attribute :geo_code, String

#last_nameString

Returns Last name.

Returns:

  • (String)

    Last name



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

define_attribute :last_name, String

#phoneString

Returns Phone number.

Returns:

  • (String)

    Phone number



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

define_attribute :phone, String

#postal_codeString

Returns Zip or postal code.

Returns:

  • (String)

    Zip or postal code.



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

define_attribute :postal_code, String

#regionString

Returns State or province.

Returns:

  • (String)

    State or province.



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

define_attribute :region, String

#street1String

Returns Street 1.

Returns:

  • (String)

    Street 1



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

define_attribute :street1, String

#street2String

Returns Street 2.

Returns:

  • (String)

    Street 2



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

define_attribute :street2, String