Class: FedexWebServices::Soap::Rate::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/RateServiceDefinitions.rb

Overview

http://fedex.com/ws/rate/v13Address 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/RateServiceDefinitions.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/RateServiceDefinitions.rb', line 32

def city
  @city
end

#countryCode ⇒ Object

Returns the value of attribute countryCode.



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

def countryCode
  @countryCode
end

#countryName ⇒ Object

Returns the value of attribute countryName.



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

def countryName
  @countryName
end

#postalCode ⇒ Object

Returns the value of attribute postalCode.



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

def postalCode
  @postalCode
end

#residential ⇒ Object

Returns the value of attribute residential.



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

def residential
  @residential
end

#stateOrProvinceCode ⇒ Object

Returns the value of attribute stateOrProvinceCode.



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

def stateOrProvinceCode
  @stateOrProvinceCode
end

#streetLines ⇒ Object

Returns the value of attribute streetLines.



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

def streetLines
  @streetLines
end

#urbanizationCode ⇒ Object

Returns the value of attribute urbanizationCode.



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

def urbanizationCode
  @urbanizationCode
end