Class: YSM::MasterAccountService::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/MasterAccountService.rb,
lib/ysm4r/v2/MasterAccountService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address1 = nil, address2 = nil, address3 = nil, city = nil, country = nil, county = nil, postalCode = nil, province = nil, state = nil, todofuken = nil) ⇒ Address

Returns a new instance of Address.



119
120
121
122
123
124
125
126
127
128
129
130
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 119

def initialize(address1 = nil, address2 = nil, address3 = nil, city = nil, country = nil, county = nil, postalCode = nil, province = nil, state = nil, todofuken = nil)
  @address1 = address1
  @address2 = address2
  @address3 = address3
  @city = city
  @country = country
  @county = county
  @postalCode = postalCode
  @province = province
  @state = state
  @todofuken = todofuken
end

Instance Attribute Details

#address1Object

Returns the value of attribute address1.



108
109
110
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 108

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



109
110
111
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 109

def address2
  @address2
end

#address3Object

Returns the value of attribute address3.



110
111
112
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 110

def address3
  @address3
end

#cityObject

Returns the value of attribute city.



111
112
113
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 111

def city
  @city
end

#countryObject

Returns the value of attribute country.



112
113
114
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 112

def country
  @country
end

#countyObject

Returns the value of attribute county.



113
114
115
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 113

def county
  @county
end

#postalCodeObject

Returns the value of attribute postalCode.



114
115
116
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 114

def postalCode
  @postalCode
end

#provinceObject

Returns the value of attribute province.



115
116
117
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 115

def province
  @province
end

#stateObject

Returns the value of attribute state.



116
117
118
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 116

def state
  @state
end

#todofukenObject

Returns the value of attribute todofuken.



117
118
119
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 117

def todofuken
  @todofuken
end