Class: EwayRapid::Models::Address
- Inherits:
-
Object
- Object
- EwayRapid::Models::Address
- Defined in:
- lib/eway_rapid/models/models.rb
Overview
Customer’s address
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Two letter ISO 3166-1 alpha-2 code.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street1 ⇒ Object
First line of the street address.
-
#street2 ⇒ Object
Second line of the street address.
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
13 14 15 |
# File 'lib/eway_rapid/models/models.rb', line 13 def city @city end |
#country ⇒ Object
Two letter ISO 3166-1 alpha-2 code
17 18 19 |
# File 'lib/eway_rapid/models/models.rb', line 17 def country @country end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
19 20 21 |
# File 'lib/eway_rapid/models/models.rb', line 19 def postal_code @postal_code end |
#state ⇒ Object
Returns the value of attribute state.
14 15 16 |
# File 'lib/eway_rapid/models/models.rb', line 14 def state @state end |
#street1 ⇒ Object
First line of the street address
8 9 10 |
# File 'lib/eway_rapid/models/models.rb', line 8 def street1 @street1 end |
#street2 ⇒ Object
Second line of the street address
11 12 13 |
# File 'lib/eway_rapid/models/models.rb', line 11 def street2 @street2 end |