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.
341 342 343 344 345 346 347 348 349 350 351 352 |
# File 'lib/g4s/shipping/default.rb', line 341 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.
334 335 336 |
# File 'lib/g4s/shipping/default.rb', line 334 def address @address end |
#city ⇒ Object
Returns the value of attribute city.
335 336 337 |
# File 'lib/g4s/shipping/default.rb', line 335 def city @city end |
#collectType ⇒ Object
Returns the value of attribute collectType.
330 331 332 |
# File 'lib/g4s/shipping/default.rb', line 330 def collectType @collectType end |
#company ⇒ Object
Returns the value of attribute company.
332 333 334 |
# File 'lib/g4s/shipping/default.rb', line 332 def company @company end |
#country ⇒ Object
Returns the value of attribute country.
333 334 335 |
# File 'lib/g4s/shipping/default.rb', line 333 def country @country end |
#countryCode ⇒ Object
Returns the value of attribute countryCode.
337 338 339 |
# File 'lib/g4s/shipping/default.rb', line 337 def countryCode @countryCode end |
#name ⇒ Object
Returns the value of attribute name.
331 332 333 |
# File 'lib/g4s/shipping/default.rb', line 331 def name @name end |
#phone ⇒ Object
Returns the value of attribute phone.
339 340 341 |
# File 'lib/g4s/shipping/default.rb', line 339 def phone @phone end |
#state ⇒ Object
Returns the value of attribute state.
336 337 338 |
# File 'lib/g4s/shipping/default.rb', line 336 def state @state end |
#zip ⇒ Object
Returns the value of attribute zip.
338 339 340 |
# File 'lib/g4s/shipping/default.rb', line 338 def zip @zip end |