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

#city ⇒ String

Returns City.

Returns:

  • (String) —

    City



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

define_attribute :city, String

#country ⇒ String

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_name ⇒ String

Returns First name.

Returns:

  • (String) —

    First name



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

define_attribute :first_name, String

#geo_code ⇒ String

Returns Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.

Returns:

  • (String) —

    Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.



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

define_attribute :geo_code, String

#last_name ⇒ String

Returns Last name.

Returns:

  • (String) —

    Last name



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

define_attribute :last_name, String

#phone ⇒ String

Returns Phone number.

Returns:

  • (String) —

    Phone number



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

define_attribute :phone, String

#postal_code ⇒ String

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

#region ⇒ String

Returns State or province.

Returns:

  • (String) —

    State or province.



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

define_attribute :region, String

#street1 ⇒ String

Returns Street 1.

Returns:

  • (String) —

    Street 1



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

define_attribute :street1, String

#street2 ⇒ String

Returns Street 2.

Returns:

  • (String) —

    Street 2



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

define_attribute :street2, String