Class: Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItems

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/external_fulfillment_shipments_2024_09_11/original_line_items.rb

Overview

The line items from the original shipment that corresponds to this shipment.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



11
12
13
# File 'lib/peddler/apis/external_fulfillment_shipments_2024_09_11/original_line_items.rb', line 11

def parse(array)
  new(array.map { |item| OriginalLineItem.parse(item) })
end