Class: PurolatorWebServices::Soap::OrderResult

Inherits:
ResultBase
  • Object
show all
Defined in:
lib/purolator_web_services/soap/default.rb

Overview

/OrderResult

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

Direct Known Subclasses

LTLOrderResult

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, messages = nil, request = nil, packages = nil, totalShipping = nil, rates = nil) ⇒ OrderResult

Returns a new instance of OrderResult.



306
307
308
309
310
311
312
313
# File 'lib/purolator_web_services/soap/default.rb', line 306

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

Instance Attribute Details

#messagesObject

Returns the value of attribute messages.



300
301
302
# File 'lib/purolator_web_services/soap/default.rb', line 300

def messages
  @messages
end

#packagesObject

Returns the value of attribute packages.



302
303
304
# File 'lib/purolator_web_services/soap/default.rb', line 302

def packages
  @packages
end

#ratesObject

Returns the value of attribute rates.



304
305
306
# File 'lib/purolator_web_services/soap/default.rb', line 304

def rates
  @rates
end

#requestObject

Returns the value of attribute request.



301
302
303
# File 'lib/purolator_web_services/soap/default.rb', line 301

def request
  @request
end

#statusObject

Returns the value of attribute status.



299
300
301
# File 'lib/purolator_web_services/soap/default.rb', line 299

def status
  @status
end

#totalShippingObject

Returns the value of attribute totalShipping.



303
304
305
# File 'lib/purolator_web_services/soap/default.rb', line 303

def totalShipping
  @totalShipping
end