Class: Recurly::Resources::Address

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

#cityString

Returns City.

Returns:

  • (String)

    City



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

define_attribute :city, String

#countryString

Returns Country, 2-letter ISO code.

Returns:

  • (String)

    Country, 2-letter ISO code.



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

define_attribute :country, String

#phoneString

Returns Phone number.

Returns:

  • (String)

    Phone number



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

define_attribute :phone, String

#postal_codeString

Returns Zip or postal code.

Returns:

  • (String)

    Zip or postal code.



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

define_attribute :postal_code, String

#regionString

Returns State or province.

Returns:

  • (String)

    State or province.



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

define_attribute :region, String

#street1String

Returns Street 1.

Returns:

  • (String)

    Street 1



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

define_attribute :street1, String

#street2String

Returns Street 2.

Returns:

  • (String)

    Street 2



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

define_attribute :street2, String