Class: PurolatorWebServices::Soap::AddPackageRequest

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

Overview

/AddPackageRequest

credentials - PurolatorWebServices::Soap::CredentialInfo
orderNumber - SOAP::SOAPString
labelType - SOAP::SOAPString
packages - PurolatorWebServices::Soap::ArrayOfRequestPackage

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credentials = nil, orderNumber = nil, labelType = nil, packages = nil) ⇒ AddPackageRequest

Returns a new instance of AddPackageRequest.



950
951
952
953
954
955
# File 'lib/purolator_web_services/soap/default.rb', line 950

def initialize(credentials = nil, orderNumber = nil, labelType = nil, packages = nil)
  @credentials = credentials
  @orderNumber = orderNumber
  @labelType = labelType
  @packages = packages
end

Instance Attribute Details

#credentialsObject

Returns the value of attribute credentials.



945
946
947
# File 'lib/purolator_web_services/soap/default.rb', line 945

def credentials
  @credentials
end

#labelTypeObject

Returns the value of attribute labelType.



947
948
949
# File 'lib/purolator_web_services/soap/default.rb', line 947

def labelType
  @labelType
end

#orderNumberObject

Returns the value of attribute orderNumber.



946
947
948
# File 'lib/purolator_web_services/soap/default.rb', line 946

def orderNumber
  @orderNumber
end

#packagesObject

Returns the value of attribute packages.



948
949
950
# File 'lib/purolator_web_services/soap/default.rb', line 948

def packages
  @packages
end