Class: HoldAtLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/g4s/shipping/default.rb,
lib/g4s/tracking/default.rb

Overview

/HoldAtLocation

name - SOAP::SOAPString
company - SOAP::SOAPString
address - SOAP::SOAPString
city - SOAP::SOAPString
state - SOAP::SOAPString
countryCode - SOAP::SOAPString
zip - SOAP::SOAPString
phone - SOAP::SOAPString
phoneExtn - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, company = nil, address = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, phoneExtn = nil) ⇒ HoldAtLocation

Returns a new instance of HoldAtLocation.



381
382
383
384
385
386
387
388
389
390
391
# File 'lib/g4s/shipping/default.rb', line 381

def initialize(name = nil, company = nil, address = nil, city = nil, state = nil, countryCode = nil, zip = nil, phone = nil, phoneExtn = nil)
  @name = name
  @company = company
  @address = address
  @city = city
  @state = state
  @countryCode = countryCode
  @zip = zip
  @phone = phone
  @phoneExtn = phoneExtn
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



373
374
375
# File 'lib/g4s/shipping/default.rb', line 373

def address
  @address
end

#cityObject

Returns the value of attribute city.



374
375
376
# File 'lib/g4s/shipping/default.rb', line 374

def city
  @city
end

#companyObject

Returns the value of attribute company.



372
373
374
# File 'lib/g4s/shipping/default.rb', line 372

def company
  @company
end

#countryCodeObject

Returns the value of attribute countryCode.



376
377
378
# File 'lib/g4s/shipping/default.rb', line 376

def countryCode
  @countryCode
end

#nameObject

Returns the value of attribute name.



371
372
373
# File 'lib/g4s/shipping/default.rb', line 371

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



378
379
380
# File 'lib/g4s/shipping/default.rb', line 378

def phone
  @phone
end

#phoneExtnObject

Returns the value of attribute phoneExtn.



379
380
381
# File 'lib/g4s/shipping/default.rb', line 379

def phoneExtn
  @phoneExtn
end

#stateObject

Returns the value of attribute state.



375
376
377
# File 'lib/g4s/shipping/default.rb', line 375

def state
  @state
end

#zipObject

Returns the value of attribute zip.



377
378
379
# File 'lib/g4s/shipping/default.rb', line 377

def zip
  @zip
end