Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellations
- Inherits:
-
Array
- Object
- Array
- Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellations
- Defined in:
- lib/peddler/apis/external_fulfillment_shipments_2024_09_11/cancellations.rb
Overview
A list of cancellations for the given line item.
Note: Currently, SmartConnect does not support partial cancellation of a shipment or its line items. This list will contain a single value with all the cancellation details.
Class Method Summary collapse
Class Method Details
.parse(array) ⇒ Object
14 15 16 |
# File 'lib/peddler/apis/external_fulfillment_shipments_2024_09_11/cancellations.rb', line 14 def parse(array) new(array.map { |item| Cancellation.parse(item) }) end |