Class: ShipmentResponse
- Inherits:
-
Object
- Object
- ShipmentResponse
- Defined in:
- lib/g4s/shipping/default.rb
Overview
/ShipmentResponse
shipmentTrackingNumber - SOAP::SOAPString
shipmentLabel - SOAP::SOAPString
status - SOAP::SOAPBoolean
shipmentResponseErrorCode - SOAP::SOAPString
shipmentResponseError - SOAP::SOAPString
Instance Attribute Summary collapse
-
#shipmentLabel ⇒ Object
Returns the value of attribute shipmentLabel.
-
#shipmentResponseError ⇒ Object
Returns the value of attribute shipmentResponseError.
-
#shipmentResponseErrorCode ⇒ Object
Returns the value of attribute shipmentResponseErrorCode.
-
#shipmentTrackingNumber ⇒ Object
Returns the value of attribute shipmentTrackingNumber.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(shipmentTrackingNumber = nil, shipmentLabel = nil, status = nil, shipmentResponseErrorCode = nil, shipmentResponseError = nil) ⇒ ShipmentResponse
constructor
A new instance of ShipmentResponse.
Constructor Details
#initialize(shipmentTrackingNumber = nil, shipmentLabel = nil, status = nil, shipmentResponseErrorCode = nil, shipmentResponseError = nil) ⇒ ShipmentResponse
Returns a new instance of ShipmentResponse.
450 451 452 453 454 455 456 |
# File 'lib/g4s/shipping/default.rb', line 450 def initialize(shipmentTrackingNumber = nil, shipmentLabel = nil, status = nil, shipmentResponseErrorCode = nil, shipmentResponseError = nil) @shipmentTrackingNumber = shipmentTrackingNumber @shipmentLabel = shipmentLabel @status = status @shipmentResponseErrorCode = shipmentResponseErrorCode @shipmentResponseError = shipmentResponseError end |
Instance Attribute Details
#shipmentLabel ⇒ Object
Returns the value of attribute shipmentLabel.
445 446 447 |
# File 'lib/g4s/shipping/default.rb', line 445 def shipmentLabel @shipmentLabel end |
#shipmentResponseError ⇒ Object
Returns the value of attribute shipmentResponseError.
448 449 450 |
# File 'lib/g4s/shipping/default.rb', line 448 def shipmentResponseError @shipmentResponseError end |
#shipmentResponseErrorCode ⇒ Object
Returns the value of attribute shipmentResponseErrorCode.
447 448 449 |
# File 'lib/g4s/shipping/default.rb', line 447 def shipmentResponseErrorCode @shipmentResponseErrorCode end |
#shipmentTrackingNumber ⇒ Object
Returns the value of attribute shipmentTrackingNumber.
444 445 446 |
# File 'lib/g4s/shipping/default.rb', line 444 def shipmentTrackingNumber @shipmentTrackingNumber end |
#status ⇒ Object
Returns the value of attribute status.
446 447 448 |
# File 'lib/g4s/shipping/default.rb', line 446 def status @status end |