Class: Recurly::Resources::Address
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::Address
- Defined in:
- lib/recurly/resources/address.rb
Instance Attribute Summary collapse
-
#city ⇒ String
City.
-
#country ⇒ String
Country, 2-letter ISO 3166-1 alpha-2 code.
-
#geo_code ⇒ String
Code that represents a geographic entity (location or object).
-
#phone ⇒ String
Phone number.
-
#postal_code ⇒ String
Zip or postal code.
-
#region ⇒ String
State or province.
-
#street1 ⇒ String
Street 1.
-
#street2 ⇒ String
Street 2.
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
#city ⇒ String
Returns City.
11 |
# File 'lib/recurly/resources/address.rb', line 11 define_attribute :city, String |
#country ⇒ String
Returns Country, 2-letter ISO 3166-1 alpha-2 code.
15 |
# File 'lib/recurly/resources/address.rb', line 15 define_attribute :country, String |
#geo_code ⇒ String
Returns Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration.
19 |
# File 'lib/recurly/resources/address.rb', line 19 define_attribute :geo_code, String |
#phone ⇒ String
Returns Phone number.
23 |
# File 'lib/recurly/resources/address.rb', line 23 define_attribute :phone, String |
#postal_code ⇒ String
Returns Zip or postal code.
27 |
# File 'lib/recurly/resources/address.rb', line 27 define_attribute :postal_code, String |
#region ⇒ String
Returns State or province.
31 |
# File 'lib/recurly/resources/address.rb', line 31 define_attribute :region, String |
#street1 ⇒ String
Returns Street 1.
35 |
# File 'lib/recurly/resources/address.rb', line 35 define_attribute :street1, String |
#street2 ⇒ String
Returns Street 2.
39 |
# File 'lib/recurly/resources/address.rb', line 39 define_attribute :street2, String |