Class: EwayRapid::Models::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/eway_rapid/models/models.rb

Overview

Customer’s address

Instance Attribute Summary collapse

Instance Attribute Details

#cityObject

Returns the value of attribute city.



13
14
15
# File 'lib/eway_rapid/models/models.rb', line 13

def city
  @city
end

#countryObject

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_codeObject

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

#stateObject

Returns the value of attribute state.



14
15
16
# File 'lib/eway_rapid/models/models.rb', line 14

def state
  @state
end

#street1Object

First line of the street address



8
9
10
# File 'lib/eway_rapid/models/models.rb', line 8

def street1
  @street1
end

#street2Object

Second line of the street address



11
12
13
# File 'lib/eway_rapid/models/models.rb', line 11

def street2
  @street2
end