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.



376
377
378
379
380
381
382
383
384
385
386
# File 'lib/g4s/shipping/default.rb', line 376

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.



368
369
370
# File 'lib/g4s/shipping/default.rb', line 368

def address
  @address
end

#cityObject

Returns the value of attribute city.



369
370
371
# File 'lib/g4s/shipping/default.rb', line 369

def city
  @city
end

#companyObject

Returns the value of attribute company.



367
368
369
# File 'lib/g4s/shipping/default.rb', line 367

def company
  @company
end

#countryCodeObject

Returns the value of attribute countryCode.



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

def countryCode
  @countryCode
end

#nameObject

Returns the value of attribute name.



366
367
368
# File 'lib/g4s/shipping/default.rb', line 366

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



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

def phone
  @phone
end

#phoneExtnObject

Returns the value of attribute phoneExtn.



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

def phoneExtn
  @phoneExtn
end

#stateObject

Returns the value of attribute state.



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

def state
  @state
end

#zipObject

Returns the value of attribute zip.



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

def zip
  @zip
end