Class: COD

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

Instance Method Summary collapse

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

#addressObject

Returns the value of attribute address.



334
335
336
# File 'lib/g4s/shipping/default.rb', line 334

def address
  @address
end

#cityObject

Returns the value of attribute city.



335
336
337
# File 'lib/g4s/shipping/default.rb', line 335

def city
  @city
end

#collectTypeObject

Returns the value of attribute collectType.



330
331
332
# File 'lib/g4s/shipping/default.rb', line 330

def collectType
  @collectType
end

#companyObject

Returns the value of attribute company.



332
333
334
# File 'lib/g4s/shipping/default.rb', line 332

def company
  @company
end

#countryObject

Returns the value of attribute country.



333
334
335
# File 'lib/g4s/shipping/default.rb', line 333

def country
  @country
end

#countryCodeObject

Returns the value of attribute countryCode.



337
338
339
# File 'lib/g4s/shipping/default.rb', line 337

def countryCode
  @countryCode
end

#nameObject

Returns the value of attribute name.



331
332
333
# File 'lib/g4s/shipping/default.rb', line 331

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



339
340
341
# File 'lib/g4s/shipping/default.rb', line 339

def phone
  @phone
end

#stateObject

Returns the value of attribute state.



336
337
338
# File 'lib/g4s/shipping/default.rb', line 336

def state
  @state
end

#zipObject

Returns the value of attribute zip.



338
339
340
# File 'lib/g4s/shipping/default.rb', line 338

def zip
  @zip
end