Class: Edi::Walmart::ShipWithWalmart::LabelsResult

Inherits:
Data
  • Object
show all
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

Returns:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, labels: nil, error: nil) ⇒ LabelsResult

Returns a new instance of LabelsResult.



466
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 466

def initialize(success: nil, labels: nil, error: nil) = super

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



465
466
467
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 465

def error
  @error
end

#labelsObject (readonly)

Returns the value of attribute labels

Returns:

  • (Object)

    the current value of labels



465
466
467
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 465

def labels
  @labels
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



465
466
467
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 465

def success
  @success
end