Class: PurolatorWebServices::Soap::AddPackageResult

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

Overview

/AddPackageResult

status - SOAP::SOAPInt
messages - PurolatorWebServices::Soap::ArrayOfResultMessage
request - PurolatorWebServices::Soap::AddPackageRequest
packages - PurolatorWebServices::Soap::ArrayOfResultPackage
totalShipping - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AddPackageResult.



376
377
378
379
380
381
382
# File 'lib/purolator_web_services/soap/default.rb', line 376

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

Instance Attribute Details

#messagesObject

Returns the value of attribute messages.



371
372
373
# File 'lib/purolator_web_services/soap/default.rb', line 371

def messages
  @messages
end

#packagesObject

Returns the value of attribute packages.



373
374
375
# File 'lib/purolator_web_services/soap/default.rb', line 373

def packages
  @packages
end

#requestObject

Returns the value of attribute request.



372
373
374
# File 'lib/purolator_web_services/soap/default.rb', line 372

def request
  @request
end

#statusObject

Returns the value of attribute status.



370
371
372
# File 'lib/purolator_web_services/soap/default.rb', line 370

def status
  @status
end

#totalShippingObject

Returns the value of attribute totalShipping.



374
375
376
# File 'lib/purolator_web_services/soap/default.rb', line 374

def totalShipping
  @totalShipping
end