Class: COD
- Inherits:
-
Object
- Object
- COD
- Defined in:
- lib/g4s/shipping/default.rb,
lib/g4s/tracking/default.rb
Overview
/COD
collectType - SOAP::SOAPString
name - SOAP::SOAPString
company - SOAP::SOAPString
country - SOAP::SOAPString
address - SOAP::SOAPString
city - SOAP::SOAPString
state - SOAP::SOAPString
countryCode - SOAP::SOAPString
zip - SOAP::SOAPString
phone - SOAP::SOAPString
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#city ⇒ Object
Returns the value of attribute city.
-
#collectType ⇒ Object
Returns the value of attribute collectType.
-
#company ⇒ Object
Returns the value of attribute company.
-
#country ⇒ Object
Returns the value of attribute country.
-
#countryCode ⇒ Object
Returns the value of attribute countryCode.
-
#name ⇒ Object
Returns the value of attribute name.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#state ⇒ Object
Returns the value of attribute state.
-
#zip ⇒ Object
Returns the value of attribute zip.
Instance Method Summary collapse
-
#initialize(collectType = nil, name = nil, company = nil, country = nil, address = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil) ⇒ COD
constructor
A new instance of COD.
Constructor Details
#initialize(collectType = nil, name = nil, company = nil, country = nil, address = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil) ⇒ COD
Returns a new instance of COD.
346 347 348 349 350 351 352 353 354 355 356 357 |
# File 'lib/g4s/shipping/default.rb', line 346 def initialize(collectType = nil, name = nil, company = nil, country = nil, address = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil) @collectType = collectType @name = name @company = company @country = country @address = address @city = city @state = state @countryCode = countryCode @zip = zip @phone = phone end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
339 340 341 |
# File 'lib/g4s/shipping/default.rb', line 339 def address @address end |
#city ⇒ Object
Returns the value of attribute city.
340 341 342 |
# File 'lib/g4s/shipping/default.rb', line 340 def city @city end |
#collectType ⇒ Object
Returns the value of attribute collectType.
335 336 337 |
# File 'lib/g4s/shipping/default.rb', line 335 def collectType @collectType end |
#company ⇒ Object
Returns the value of attribute company.
337 338 339 |
# File 'lib/g4s/shipping/default.rb', line 337 def company @company end |
#country ⇒ Object
Returns the value of attribute country.
338 339 340 |
# File 'lib/g4s/shipping/default.rb', line 338 def country @country end |
#countryCode ⇒ Object
Returns the value of attribute countryCode.
342 343 344 |
# File 'lib/g4s/shipping/default.rb', line 342 def countryCode @countryCode end |
#name ⇒ Object
Returns the value of attribute name.
336 337 338 |
# File 'lib/g4s/shipping/default.rb', line 336 def name @name end |
#phone ⇒ Object
Returns the value of attribute phone.
344 345 346 |
# File 'lib/g4s/shipping/default.rb', line 344 def phone @phone end |
#state ⇒ Object
Returns the value of attribute state.
341 342 343 |
# File 'lib/g4s/shipping/default.rb', line 341 def state @state end |
#zip ⇒ Object
Returns the value of attribute zip.
343 344 345 |
# File 'lib/g4s/shipping/default.rb', line 343 def zip @zip end |