Class: Edi::Walmart::ShipWithWalmart::LabelsResult
- Inherits:
-
Data
- Object
- Data
- Edi::Walmart::ShipWithWalmart::LabelsResult
- Defined in:
- app/services/edi/walmart/ship_with_walmart.rb
Overview
GET /v3/shipping/labels/purchase-orders/purchaseOrderId
Retrieve all label details for a purchase order
param purchase_order_id [String] The Walmart PO number
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, labels: nil, error: nil) ⇒ LabelsResult
constructor
A new instance of LabelsResult.
Constructor Details
#initialize(success: nil, labels: nil, error: nil) ⇒ LabelsResult
Returns a new instance of LabelsResult.
460 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 460 def initialize(success: nil, labels: nil, error: nil) = super |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
459 460 461 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 459 def error @error end |
#labels ⇒ Object (readonly)
Returns the value of attribute labels
459 460 461 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 459 def labels @labels end |
#success ⇒ Object (readonly)
Returns the value of attribute success
459 460 461 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 459 def success @success end |