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.



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

#addressObject

Returns the value of attribute address.



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

def address
  @address
end

#cityObject

Returns the value of attribute city.



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

def city
  @city
end

#collectTypeObject

Returns the value of attribute collectType.



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

def collectType
  @collectType
end

#companyObject

Returns the value of attribute company.



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

def company
  @company
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#countryCodeObject

Returns the value of attribute countryCode.



342
343
344
# File 'lib/g4s/shipping/default.rb', line 342

def countryCode
  @countryCode
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



344
345
346
# File 'lib/g4s/shipping/default.rb', line 344

def phone
  @phone
end

#stateObject

Returns the value of attribute state.



341
342
343
# File 'lib/g4s/shipping/default.rb', line 341

def state
  @state
end

#zipObject

Returns the value of attribute zip.



343
344
345
# File 'lib/g4s/shipping/default.rb', line 343

def zip
  @zip
end