Class: PurolatorWebServices::Soap::ResultPackage

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

Overview

/ResultPackage

packageID - SOAP::SOAPString
trackingNumber - SOAP::SOAPString
shippingCharge - SOAP::SOAPDecimal
unicode - SOAP::SOAPString
airportCode - SOAP::SOAPString
barCode - SOAP::SOAPString
zPLCode - SOAP::SOAPString
labelImage - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(packageID = nil, trackingNumber = nil, shippingCharge = nil, unicode = nil, airportCode = nil, barCode = nil, zPLCode = nil, labelImage = nil) ⇒ ResultPackage

Returns a new instance of ResultPackage.



583
584
585
586
587
588
589
590
591
592
# File 'lib/purolator_web_services/soap/default.rb', line 583

def initialize(packageID = nil, trackingNumber = nil, shippingCharge = nil, unicode = nil, airportCode = nil, barCode = nil, zPLCode = nil, labelImage = nil)
  @packageID = packageID
  @trackingNumber = trackingNumber
  @shippingCharge = shippingCharge
  @unicode = unicode
  @airportCode = airportCode
  @barCode = barCode
  @zPLCode = zPLCode
  @labelImage = labelImage
end

Instance Attribute Details

#airportCodeObject

Returns the value of attribute airportCode.



578
579
580
# File 'lib/purolator_web_services/soap/default.rb', line 578

def airportCode
  @airportCode
end

#barCodeObject

Returns the value of attribute barCode.



579
580
581
# File 'lib/purolator_web_services/soap/default.rb', line 579

def barCode
  @barCode
end

#labelImageObject

Returns the value of attribute labelImage.



581
582
583
# File 'lib/purolator_web_services/soap/default.rb', line 581

def labelImage
  @labelImage
end

#packageIDObject

Returns the value of attribute packageID.



574
575
576
# File 'lib/purolator_web_services/soap/default.rb', line 574

def packageID
  @packageID
end

#shippingChargeObject

Returns the value of attribute shippingCharge.



576
577
578
# File 'lib/purolator_web_services/soap/default.rb', line 576

def shippingCharge
  @shippingCharge
end

#trackingNumberObject

Returns the value of attribute trackingNumber.



575
576
577
# File 'lib/purolator_web_services/soap/default.rb', line 575

def trackingNumber
  @trackingNumber
end

#unicodeObject

Returns the value of attribute unicode.



577
578
579
# File 'lib/purolator_web_services/soap/default.rb', line 577

def unicode
  @unicode
end

#zPLCodeObject

Returns the value of attribute zPLCode.



580
581
582
# File 'lib/purolator_web_services/soap/default.rb', line 580

def zPLCode
  @zPLCode
end