Class: PurolatorWebServices::Soap::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/purolator_web_services/soap/default.rb

Overview

/Address

name - SOAP::SOAPString
company - SOAP::SOAPString
add1 - SOAP::SOAPString
add2 - SOAP::SOAPString
city - SOAP::SOAPString
stateProv - SOAP::SOAPString
postalCode - SOAP::SOAPString
country - SOAP::SOAPString
phone - SOAP::SOAPString
email - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, company = nil, add1 = nil, add2 = nil, city = nil, stateProv = nil, postalCode = nil, country = nil, phone = nil, email = nil) ⇒ Address

Returns a new instance of Address.



128
129
130
131
132
133
134
135
136
137
138
139
# File 'lib/purolator_web_services/soap/default.rb', line 128

def initialize(name = nil, company = nil, add1 = nil, add2 = nil, city = nil, stateProv = nil, postalCode = nil, country = nil, phone = nil, email = nil)
  @name = name
  @company = company
  @add1 = add1
  @add2 = add2
  @city = city
  @stateProv = stateProv
  @postalCode = postalCode
  @country = country
  @phone = phone
  @email = email
end

Instance Attribute Details

#add1Object

Returns the value of attribute add1.



119
120
121
# File 'lib/purolator_web_services/soap/default.rb', line 119

def add1
  @add1
end

#add2Object

Returns the value of attribute add2.



120
121
122
# File 'lib/purolator_web_services/soap/default.rb', line 120

def add2
  @add2
end

#cityObject

Returns the value of attribute city.



121
122
123
# File 'lib/purolator_web_services/soap/default.rb', line 121

def city
  @city
end

#companyObject

Returns the value of attribute company.



118
119
120
# File 'lib/purolator_web_services/soap/default.rb', line 118

def company
  @company
end

#countryObject

Returns the value of attribute country.



124
125
126
# File 'lib/purolator_web_services/soap/default.rb', line 124

def country
  @country
end

#emailObject

Returns the value of attribute email.



126
127
128
# File 'lib/purolator_web_services/soap/default.rb', line 126

def email
  @email
end

#nameObject

Returns the value of attribute name.



117
118
119
# File 'lib/purolator_web_services/soap/default.rb', line 117

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



125
126
127
# File 'lib/purolator_web_services/soap/default.rb', line 125

def phone
  @phone
end

#postalCodeObject

Returns the value of attribute postalCode.



123
124
125
# File 'lib/purolator_web_services/soap/default.rb', line 123

def postalCode
  @postalCode
end

#stateProvObject

Returns the value of attribute stateProv.



122
123
124
# File 'lib/purolator_web_services/soap/default.rb', line 122

def stateProv
  @stateProv
end