Class: PurolatorWebServices::Soap::OrderRequest

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

Overview

/OrderRequest

credentials - PurolatorWebServices::Soap::CredentialInfo
orderNumber - SOAP::SOAPString
ref1 - SOAP::SOAPString
ref2 - SOAP::SOAPString
shipDate - SOAP::SOAPDateTime
shipMethod - SOAP::SOAPString
specialServices - PurolatorWebServices::Soap::ArrayOfString
billingOption - SOAP::SOAPString
billingAccount - SOAP::SOAPString
labelType - SOAP::SOAPString
shipFromAddress - PurolatorWebServices::Soap::Address
shipToAddress - PurolatorWebServices::Soap::Address
declaredValue - SOAP::SOAPDecimal
currency - SOAP::SOAPString
packages - PurolatorWebServices::Soap::ArrayOfRequestPackage
items - PurolatorWebServices::Soap::ArrayOfRequestItem

Direct Known Subclasses

LTLOrderRequest

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credentials = nil, orderNumber = nil, ref1 = nil, ref2 = nil, shipDate = nil, shipMethod = nil, specialServices = nil, billingOption = nil, billingAccount = nil, labelType = nil, shipFromAddress = nil, shipToAddress = nil, declaredValue = nil, currency = nil, packages = nil, items = nil) ⇒ OrderRequest

Returns a new instance of OrderRequest.



673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
# File 'lib/purolator_web_services/soap/default.rb', line 673

def initialize(credentials = nil, orderNumber = nil, ref1 = nil, ref2 = nil, shipDate = nil, shipMethod = nil, specialServices = nil, billingOption = nil, billingAccount = nil, labelType = nil, shipFromAddress = nil, shipToAddress = nil, declaredValue = nil, currency = nil, packages = nil, items = nil)
  @credentials = credentials
  @orderNumber = orderNumber
  @ref1 = ref1
  @ref2 = ref2
  @shipDate = shipDate
  @shipMethod = shipMethod
  @specialServices = specialServices
  @billingOption = billingOption
  @billingAccount = billingAccount
  @labelType = labelType
  @shipFromAddress = shipFromAddress
  @shipToAddress = shipToAddress
  @declaredValue = declaredValue
  @currency = currency
  @packages = packages
  @items = items
end

Instance Attribute Details

#billingAccountObject

Returns the value of attribute billingAccount.



664
665
666
# File 'lib/purolator_web_services/soap/default.rb', line 664

def billingAccount
  @billingAccount
end

#billingOptionObject

Returns the value of attribute billingOption.



663
664
665
# File 'lib/purolator_web_services/soap/default.rb', line 663

def billingOption
  @billingOption
end

#credentialsObject

Returns the value of attribute credentials.



656
657
658
# File 'lib/purolator_web_services/soap/default.rb', line 656

def credentials
  @credentials
end

#currencyObject

Returns the value of attribute currency.



669
670
671
# File 'lib/purolator_web_services/soap/default.rb', line 669

def currency
  @currency
end

#declaredValueObject

Returns the value of attribute declaredValue.



668
669
670
# File 'lib/purolator_web_services/soap/default.rb', line 668

def declaredValue
  @declaredValue
end

#itemsObject

Returns the value of attribute items.



671
672
673
# File 'lib/purolator_web_services/soap/default.rb', line 671

def items
  @items
end

#labelTypeObject

Returns the value of attribute labelType.



665
666
667
# File 'lib/purolator_web_services/soap/default.rb', line 665

def labelType
  @labelType
end

#orderNumberObject

Returns the value of attribute orderNumber.



657
658
659
# File 'lib/purolator_web_services/soap/default.rb', line 657

def orderNumber
  @orderNumber
end

#packagesObject

Returns the value of attribute packages.



670
671
672
# File 'lib/purolator_web_services/soap/default.rb', line 670

def packages
  @packages
end

#ref1Object

Returns the value of attribute ref1.



658
659
660
# File 'lib/purolator_web_services/soap/default.rb', line 658

def ref1
  @ref1
end

#ref2Object

Returns the value of attribute ref2.



659
660
661
# File 'lib/purolator_web_services/soap/default.rb', line 659

def ref2
  @ref2
end

#shipDateObject

Returns the value of attribute shipDate.



660
661
662
# File 'lib/purolator_web_services/soap/default.rb', line 660

def shipDate
  @shipDate
end

#shipFromAddressObject

Returns the value of attribute shipFromAddress.



666
667
668
# File 'lib/purolator_web_services/soap/default.rb', line 666

def shipFromAddress
  @shipFromAddress
end

#shipMethodObject

Returns the value of attribute shipMethod.



661
662
663
# File 'lib/purolator_web_services/soap/default.rb', line 661

def shipMethod
  @shipMethod
end

#shipToAddressObject

Returns the value of attribute shipToAddress.



667
668
669
# File 'lib/purolator_web_services/soap/default.rb', line 667

def shipToAddress
  @shipToAddress
end

#specialServicesObject

Returns the value of attribute specialServices.



662
663
664
# File 'lib/purolator_web_services/soap/default.rb', line 662

def specialServices
  @specialServices
end