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.



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

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



459
460
461
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 459

def error
  @error
end

#labelsObject (readonly)

Returns the value of attribute labels

Returns:

  • (Object)

    the current value of labels



459
460
461
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 459

def labels
  @labels
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



459
460
461
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 459

def success
  @success
end