Class: Recurly::Resources::ShippingAddress
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::ShippingAddress
- Defined in:
- lib/recurly/resources/shipping_address.rb
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID.
- #city ⇒ String
- #company ⇒ String
-
#country ⇒ String
Country, 2-letter ISO 3166-1 alpha-2 code.
-
#created_at ⇒ DateTime
Created at.
- #email ⇒ String
- #first_name ⇒ String
-
#geo_code ⇒ String
Code that represents a geographic entity (location or object).
-
#id ⇒ String
Shipping Address ID.
- #last_name ⇒ String
- #nickname ⇒ String
-
#object ⇒ String
Object type.
- #phone ⇒ String
-
#postal_code ⇒ String
Zip or postal code.
-
#region ⇒ String
State or province.
- #street1 ⇒ String
- #street2 ⇒ String
-
#updated_at ⇒ DateTime
Updated at.
- #vat_number ⇒ String
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#account_id ⇒ String
Returns Account ID.
11 |
# File 'lib/recurly/resources/shipping_address.rb', line 11 define_attribute :account_id, String |
#city ⇒ String
15 |
# File 'lib/recurly/resources/shipping_address.rb', line 15 define_attribute :city, String |
#company ⇒ String
19 |
# File 'lib/recurly/resources/shipping_address.rb', line 19 define_attribute :company, String |
#country ⇒ String
Returns Country, 2-letter ISO 3166-1 alpha-2 code.
23 |
# File 'lib/recurly/resources/shipping_address.rb', line 23 define_attribute :country, String |
#created_at ⇒ DateTime
Returns Created at.
27 |
# File 'lib/recurly/resources/shipping_address.rb', line 27 define_attribute :created_at, DateTime |
#email ⇒ String
31 |
# File 'lib/recurly/resources/shipping_address.rb', line 31 define_attribute :email, String |
#first_name ⇒ String
35 |
# File 'lib/recurly/resources/shipping_address.rb', line 35 define_attribute :first_name, String |
#geo_code ⇒ String
Returns 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 |
#id ⇒ String
Returns Shipping Address ID.
43 |
# File 'lib/recurly/resources/shipping_address.rb', line 43 define_attribute :id, String |
#last_name ⇒ String
47 |
# File 'lib/recurly/resources/shipping_address.rb', line 47 define_attribute :last_name, String |
#nickname ⇒ String
51 |
# File 'lib/recurly/resources/shipping_address.rb', line 51 define_attribute :nickname, String |
#object ⇒ String
Returns Object type.
55 |
# File 'lib/recurly/resources/shipping_address.rb', line 55 define_attribute :object, String |
#phone ⇒ String
59 |
# File 'lib/recurly/resources/shipping_address.rb', line 59 define_attribute :phone, String |
#postal_code ⇒ String
Returns Zip or postal code.
63 |
# File 'lib/recurly/resources/shipping_address.rb', line 63 define_attribute :postal_code, String |
#region ⇒ String
Returns State or province.
67 |
# File 'lib/recurly/resources/shipping_address.rb', line 67 define_attribute :region, String |
#street1 ⇒ String
71 |
# File 'lib/recurly/resources/shipping_address.rb', line 71 define_attribute :street1, String |
#street2 ⇒ String
75 |
# File 'lib/recurly/resources/shipping_address.rb', line 75 define_attribute :street2, String |
#updated_at ⇒ DateTime
Returns Updated at.
79 |
# File 'lib/recurly/resources/shipping_address.rb', line 79 define_attribute :updated_at, DateTime |
#vat_number ⇒ String
83 |
# File 'lib/recurly/resources/shipping_address.rb', line 83 define_attribute :vat_number, String |