Class: PurolatorWebServices::Soap::LTLOrderResult

Inherits:
OrderResult show all
Defined in:
lib/purolator_web_services/soap/default.rb

Overview

/LTLOrderResult

status - SOAP::SOAPInt
messages - PurolatorWebServices::Soap::ArrayOfResultMessage
request - PurolatorWebServices::Soap::OrderRequest
packages - PurolatorWebServices::Soap::ArrayOfResultPackage
totalShipping - SOAP::SOAPDecimal
rates - PurolatorWebServices::Soap::ArrayOfRate
proNumber - SOAP::SOAPString
pallets - PurolatorWebServices::Soap::ArrayOfLTLPalletResult

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, messages = nil, request = nil, packages = nil, totalShipping = nil, rates = nil, proNumber = nil, pallets = nil) ⇒ LTLOrderResult

Returns a new instance of LTLOrderResult.



335
336
337
338
339
340
341
342
343
344
# File 'lib/purolator_web_services/soap/default.rb', line 335

def initialize(status = nil, messages = nil, request = nil, packages = nil, totalShipping = nil, rates = nil, proNumber = nil, pallets = nil)
  @status = status
  @messages = messages
  @request = request
  @packages = packages
  @totalShipping = totalShipping
  @rates = rates
  @proNumber = proNumber
  @pallets = pallets
end

Instance Attribute Details

#messagesObject

Returns the value of attribute messages.



327
328
329
# File 'lib/purolator_web_services/soap/default.rb', line 327

def messages
  @messages
end

#packagesObject

Returns the value of attribute packages.



329
330
331
# File 'lib/purolator_web_services/soap/default.rb', line 329

def packages
  @packages
end

#palletsObject

Returns the value of attribute pallets.



333
334
335
# File 'lib/purolator_web_services/soap/default.rb', line 333

def pallets
  @pallets
end

#proNumberObject

Returns the value of attribute proNumber.



332
333
334
# File 'lib/purolator_web_services/soap/default.rb', line 332

def proNumber
  @proNumber
end

#ratesObject

Returns the value of attribute rates.



331
332
333
# File 'lib/purolator_web_services/soap/default.rb', line 331

def rates
  @rates
end

#requestObject

Returns the value of attribute request.



328
329
330
# File 'lib/purolator_web_services/soap/default.rb', line 328

def request
  @request
end

#statusObject

Returns the value of attribute status.



326
327
328
# File 'lib/purolator_web_services/soap/default.rb', line 326

def status
  @status
end

#totalShippingObject

Returns the value of attribute totalShipping.



330
331
332
# File 'lib/purolator_web_services/soap/default.rb', line 330

def totalShipping
  @totalShipping
end