lib/mws/merchant_fulfillment/client.rb in peddler-1.6.0 vs lib/mws/merchant_fulfillment/client.rb in peddler-1.6.1
- old
+ new
@@ -20,10 +20,11 @@
# @param [Struct, Hash] shipment_request_details
# @return [Peddler::XMLParser]
def get_eligible_shipping_services(shipment_request_details)
operation('GetEligibleShippingServices')
.add('ShipmentRequestDetails' => shipment_request_details)
+ .structure!('ItemList', 'Item')
run
end
# Purchases shipping and returns PNG or PDF document data for a shipping
@@ -40,9 +41,10 @@
.add(
'ShipmentRequestDetails' => shipment_request_details,
'ShippingServiceId' => shipping_service_id
)
.add(opts)
+ .structure!('ItemList', 'Item')
run
end
# Returns an existing shipment for the ShipmentId value that you specify