Class: PurolatorWebServices::Soap::LabelRequest

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

Overview

/LabelRequest

credentials - PurolatorWebServices::Soap::CredentialInfo
orderNumber - SOAP::SOAPString
packageID - SOAP::SOAPString
trackingNumber - SOAP::SOAPString
labelType - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credentials = nil, orderNumber = nil, packageID = nil, trackingNumber = nil, labelType = nil) ⇒ LabelRequest

Returns a new instance of LabelRequest.



1003
1004
1005
1006
1007
1008
1009
# File 'lib/purolator_web_services/soap/default.rb', line 1003

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

Instance Attribute Details

#credentialsObject

Returns the value of attribute credentials.



997
998
999
# File 'lib/purolator_web_services/soap/default.rb', line 997

def credentials
  @credentials
end

#labelTypeObject

Returns the value of attribute labelType.



1001
1002
1003
# File 'lib/purolator_web_services/soap/default.rb', line 1001

def labelType
  @labelType
end

#orderNumberObject

Returns the value of attribute orderNumber.



998
999
1000
# File 'lib/purolator_web_services/soap/default.rb', line 998

def orderNumber
  @orderNumber
end

#packageIDObject

Returns the value of attribute packageID.



999
1000
1001
# File 'lib/purolator_web_services/soap/default.rb', line 999

def packageID
  @packageID
end

#trackingNumberObject

Returns the value of attribute trackingNumber.



1000
1001
1002
# File 'lib/purolator_web_services/soap/default.rb', line 1000

def trackingNumber
  @trackingNumber
end