Class: PurolatorWebServices::Soap::Address
- Inherits:
-
Object
- Object
- PurolatorWebServices::Soap::Address
- 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
-
#add1 ⇒ Object
Returns the value of attribute add1.
-
#add2 ⇒ Object
Returns the value of attribute add2.
-
#city ⇒ Object
Returns the value of attribute city.
-
#company ⇒ Object
Returns the value of attribute company.
-
#country ⇒ Object
Returns the value of attribute country.
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#postalCode ⇒ Object
Returns the value of attribute postalCode.
-
#stateProv ⇒ Object
Returns the value of attribute stateProv.
Instance Method Summary collapse
-
#initialize(name = nil, company = nil, add1 = nil, add2 = nil, city = nil, stateProv = nil, postalCode = nil, country = nil, phone = nil, email = nil) ⇒ Address
constructor
A new instance of Address.
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
#add1 ⇒ Object
Returns the value of attribute add1.
119 120 121 |
# File 'lib/purolator_web_services/soap/default.rb', line 119 def add1 @add1 end |
#add2 ⇒ Object
Returns the value of attribute add2.
120 121 122 |
# File 'lib/purolator_web_services/soap/default.rb', line 120 def add2 @add2 end |
#city ⇒ Object
Returns the value of attribute city.
121 122 123 |
# File 'lib/purolator_web_services/soap/default.rb', line 121 def city @city end |
#company ⇒ Object
Returns the value of attribute company.
118 119 120 |
# File 'lib/purolator_web_services/soap/default.rb', line 118 def company @company end |
#country ⇒ Object
Returns the value of attribute country.
124 125 126 |
# File 'lib/purolator_web_services/soap/default.rb', line 124 def country @country end |
#email ⇒ Object
Returns the value of attribute email.
126 127 128 |
# File 'lib/purolator_web_services/soap/default.rb', line 126 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
117 118 119 |
# File 'lib/purolator_web_services/soap/default.rb', line 117 def name @name end |
#phone ⇒ Object
Returns the value of attribute phone.
125 126 127 |
# File 'lib/purolator_web_services/soap/default.rb', line 125 def phone @phone end |
#postalCode ⇒ Object
Returns the value of attribute postalCode.
123 124 125 |
# File 'lib/purolator_web_services/soap/default.rb', line 123 def postalCode @postalCode end |
#stateProv ⇒ Object
Returns the value of attribute stateProv.
122 123 124 |
# File 'lib/purolator_web_services/soap/default.rb', line 122 def stateProv @stateProv end |