Class: FedexWebServices::Soap::Ship::Address
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Address
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12Address
streetLines - SOAP::SOAPString
city - SOAP::SOAPString
stateOrProvinceCode - SOAP::SOAPString
postalCode - SOAP::SOAPString
urbanizationCode - SOAP::SOAPString
countryCode - SOAP::SOAPString
countryName - SOAP::SOAPString
residential - SOAP::SOAPBoolean
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#countryCode ⇒ Object
Returns the value of attribute countryCode.
-
#countryName ⇒ Object
Returns the value of attribute countryName.
-
#postalCode ⇒ Object
Returns the value of attribute postalCode.
-
#residential ⇒ Object
Returns the value of attribute residential.
-
#stateOrProvinceCode ⇒ Object
Returns the value of attribute stateOrProvinceCode.
-
#streetLines ⇒ Object
Returns the value of attribute streetLines.
-
#urbanizationCode ⇒ Object
Returns the value of attribute urbanizationCode.
Instance Method Summary collapse
-
#initialize(streetLines = [], city = nil, stateOrProvinceCode = nil, postalCode = nil, urbanizationCode = nil, countryCode = nil, countryName = nil, residential = nil) ⇒ Address
constructor
A new instance of Address.
Constructor Details
#initialize(streetLines = [], city = nil, stateOrProvinceCode = nil, postalCode = nil, urbanizationCode = nil, countryCode = nil, countryName = nil, residential = nil) ⇒ Address
Returns a new instance of Address.
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 40 def initialize(streetLines = [], city = nil, stateOrProvinceCode = nil, postalCode = nil, urbanizationCode = nil, countryCode = nil, countryName = nil, residential = nil) @streetLines = streetLines @city = city @stateOrProvinceCode = stateOrProvinceCode @postalCode = postalCode @urbanizationCode = urbanizationCode @countryCode = countryCode @countryName = countryName @residential = residential end |
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
32 33 34 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 32 def city @city end |
#countryCode ⇒ Object
Returns the value of attribute countryCode.
36 37 38 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 36 def countryCode @countryCode end |
#countryName ⇒ Object
Returns the value of attribute countryName.
37 38 39 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 37 def countryName @countryName end |
#postalCode ⇒ Object
Returns the value of attribute postalCode.
34 35 36 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 34 def postalCode @postalCode end |
#residential ⇒ Object
Returns the value of attribute residential.
38 39 40 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 38 def residential @residential end |
#stateOrProvinceCode ⇒ Object
Returns the value of attribute stateOrProvinceCode.
33 34 35 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 33 def stateOrProvinceCode @stateOrProvinceCode end |
#streetLines ⇒ Object
Returns the value of attribute streetLines.
31 32 33 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 31 def streetLines @streetLines end |
#urbanizationCode ⇒ Object
Returns the value of attribute urbanizationCode.
35 36 37 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 35 def urbanizationCode @urbanizationCode end |