Class: FedexWebServices::Soap::Ship::Address

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#cityObject

Returns the value of attribute city.



32
33
34
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 32

def city
  @city
end

#countryCodeObject

Returns the value of attribute countryCode.



36
37
38
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 36

def countryCode
  @countryCode
end

#countryNameObject

Returns the value of attribute countryName.



37
38
39
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 37

def countryName
  @countryName
end

#postalCodeObject

Returns the value of attribute postalCode.



34
35
36
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 34

def postalCode
  @postalCode
end

#residentialObject

Returns the value of attribute residential.



38
39
40
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 38

def residential
  @residential
end

#stateOrProvinceCodeObject

Returns the value of attribute stateOrProvinceCode.



33
34
35
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 33

def stateOrProvinceCode
  @stateOrProvinceCode
end

#streetLinesObject

Returns the value of attribute streetLines.



31
32
33
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 31

def streetLines
  @streetLines
end

#urbanizationCodeObject

Returns the value of attribute urbanizationCode.



35
36
37
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 35

def urbanizationCode
  @urbanizationCode
end