Class: BrokerInfo

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

Overview

/BrokerInfo

brokerName - SOAP::SOAPString
brokerTIN - SOAP::SOAPString
brokerCompany - SOAP::SOAPString
brokerAddress - SOAP::SOAPString
brokerAddress1 - SOAP::SOAPString
brokerAddress2 - SOAP::SOAPString
brokerCity - SOAP::SOAPString
brokerState - SOAP::SOAPString
brokerCountryCode - SOAP::SOAPString
brokerZip - SOAP::SOAPString
brokerPhone - SOAP::SOAPString
brokerEmail - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(brokerName = nil, brokerTIN = nil, brokerCompany = nil, brokerAddress = nil, brokerAddress1 = nil, brokerAddress2 = nil, brokerCity = nil, brokerState = nil, brokerCountryCode = nil, brokerZip = nil, brokerPhone = nil, brokerEmail = nil) ⇒ BrokerInfo

Returns a new instance of BrokerInfo.



421
422
423
424
425
426
427
428
429
430
431
432
433
434
# File 'lib/g4s/shipping/default.rb', line 421

def initialize(brokerName = nil, brokerTIN = nil, brokerCompany = nil, brokerAddress = nil, brokerAddress1 = nil, brokerAddress2 = nil, brokerCity = nil, brokerState = nil, brokerCountryCode = nil, brokerZip = nil, brokerPhone = nil, brokerEmail = nil)
  @brokerName = brokerName
  @brokerTIN = brokerTIN
  @brokerCompany = brokerCompany
  @brokerAddress = brokerAddress
  @brokerAddress1 = brokerAddress1
  @brokerAddress2 = brokerAddress2
  @brokerCity = brokerCity
  @brokerState = brokerState
  @brokerCountryCode = brokerCountryCode
  @brokerZip = brokerZip
  @brokerPhone = brokerPhone
  @brokerEmail = brokerEmail
end

Instance Attribute Details

#brokerAddressObject

Returns the value of attribute brokerAddress.



411
412
413
# File 'lib/g4s/shipping/default.rb', line 411

def brokerAddress
  @brokerAddress
end

#brokerAddress1Object

Returns the value of attribute brokerAddress1.



412
413
414
# File 'lib/g4s/shipping/default.rb', line 412

def brokerAddress1
  @brokerAddress1
end

#brokerAddress2Object

Returns the value of attribute brokerAddress2.



413
414
415
# File 'lib/g4s/shipping/default.rb', line 413

def brokerAddress2
  @brokerAddress2
end

#brokerCityObject

Returns the value of attribute brokerCity.



414
415
416
# File 'lib/g4s/shipping/default.rb', line 414

def brokerCity
  @brokerCity
end

#brokerCompanyObject

Returns the value of attribute brokerCompany.



410
411
412
# File 'lib/g4s/shipping/default.rb', line 410

def brokerCompany
  @brokerCompany
end

#brokerCountryCodeObject

Returns the value of attribute brokerCountryCode.



416
417
418
# File 'lib/g4s/shipping/default.rb', line 416

def brokerCountryCode
  @brokerCountryCode
end

#brokerEmailObject

Returns the value of attribute brokerEmail.



419
420
421
# File 'lib/g4s/shipping/default.rb', line 419

def brokerEmail
  @brokerEmail
end

#brokerNameObject

Returns the value of attribute brokerName.



408
409
410
# File 'lib/g4s/shipping/default.rb', line 408

def brokerName
  @brokerName
end

#brokerPhoneObject

Returns the value of attribute brokerPhone.



418
419
420
# File 'lib/g4s/shipping/default.rb', line 418

def brokerPhone
  @brokerPhone
end

#brokerStateObject

Returns the value of attribute brokerState.



415
416
417
# File 'lib/g4s/shipping/default.rb', line 415

def brokerState
  @brokerState
end

#brokerTINObject

Returns the value of attribute brokerTIN.



409
410
411
# File 'lib/g4s/shipping/default.rb', line 409

def brokerTIN
  @brokerTIN
end

#brokerZipObject

Returns the value of attribute brokerZip.



417
418
419
# File 'lib/g4s/shipping/default.rb', line 417

def brokerZip
  @brokerZip
end