This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
727a73e
commit 709c9d7
Showing
2 changed files
with
143 additions
and
23 deletions.
There are no files selected for viewing
94 changes: 94 additions & 0 deletions
94
test/unit/__fixtures__/merchant_fulfillment_create_shipment.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<CreateShipmentResponse xmlns="https://mws.amazonservices.com/MerchantFulfillment/2015-06-01"> | ||
<CreateShipmentResult> | ||
<Shipment> | ||
<Insurance> | ||
<CurrencyCode>USD</CurrencyCode> | ||
<Amount>10.00</Amount> | ||
</Insurance> | ||
<ShipToAddress> | ||
<City>Seattle</City> | ||
<Phone/> | ||
<CountryCode>US</CountryCode> | ||
<PostalCode>98121-2778</PostalCode> | ||
<Name>Jane Smith</Name> | ||
<AddressLine1>321 Main St</AddressLine1> | ||
<StateOrProvinceCode>WA</StateOrProvinceCode> | ||
<Email/> | ||
</ShipToAddress> | ||
<AmazonOrderId>903-1713775-3598252</AmazonOrderId> | ||
<Weight> | ||
<Value>10</Value> | ||
<Unit>oz</Unit> | ||
</Weight> | ||
<Label> | ||
<CustomTextForLabel>ABC123</CustomTextForLabel> | ||
<LabelFormat>ZPL203</LabelFormat> | ||
<FileContents> | ||
<Checksum>DmsWbJpdMPALN3jV4wHOrg==</Checksum> | ||
<Contents>H4sIAAAAAAAAAK16WbeqyrLmO2Pc/zBVRLG... | ||
...kI0Ycv76w378UfL6O6ev7UsAwmkWBfL6nycD/Bd+Zx3S8LwAA</Contents> | ||
<FileType>application/zpl</FileType> | ||
<LabelFormat>ZPL203</LabelFormat> | ||
</FileContents> | ||
<Dimensions> | ||
<Width>8.50000</Width> | ||
<Length>11.00000</Length> | ||
<Unit>inches</Unit> | ||
</Dimensions> | ||
<StandardIdForLabel>AmazonOrderId</StandardIdForLabel> | ||
</Label> | ||
<ShippingService> | ||
<CarrierName>FEDEX</CarrierName> | ||
<ShippingServiceOptions> | ||
<CarrierWillPickUp>false</CarrierWillPickUp> | ||
<DeclaredValue> | ||
<CurrencyCode>USD</CurrencyCode> | ||
<Amount>10.00</Amount> | ||
</DeclaredValue> | ||
<DeliveryExperience>DELIVERY_CONFIRMATION </DeliveryExperience> | ||
</ShippingServiceOptions> | ||
<ShippingServiceId>FEDEX_PTP_PRIORITY_OVERNIGHT </ShippingServiceId> | ||
<Rate> | ||
<CurrencyCode>USD</CurrencyCode> | ||
<Amount>27.81</Amount> | ||
</Rate> | ||
<LatestEstimatedDeliveryDate>2015-09-24T10:30:00Z </LatestEstimatedDeliveryDate> | ||
<EarliestEstimatedDeliveryDate>2015-09-24T10:30:00Z </EarliestEstimatedDeliveryDate> | ||
<ShippingServiceOfferId>HDDUKqtQVFetpBZAqx5c1yaCZ9vuFfND0kudyw3lLWCa | ||
3mN2+zUOsRCAZS2oYt0ey6fXKdOAucmYVXR9LAkU9O9eys9V3FJCgvQ+vAqm4bSAzHVH04vD8oLy oUPKqxa8Otbek97Z85LFUSsfcUf8frNRMEfNLP8t5RyLXa4ZOjc=</ShippingServiceOfferId> | ||
<ShipDate>2015-09-23T20:10:56.829Z</ShipDate> | ||
<ShippingServiceName>FedEx Priority Overnight®</ShippingServiceName> | ||
</ShippingService> | ||
<PackageDimensions> | ||
<Width>5</Width> | ||
<Length>5</Length> | ||
<Unit>inches</Unit> | ||
<Height>5</Height> | ||
</PackageDimensions> | ||
<CreatedDate>2015-09-23T20:11:12.908Z</CreatedDate> | ||
<ShipFromAddress> | ||
<City>Seattle</City> | ||
<Phone>2061234567</Phone> | ||
<CountryCode>US</CountryCode> | ||
<PostalCode>98121</PostalCode> | ||
<Name>John Doe</Name> | ||
<AddressLine1>1234 Westlake Ave</AddressLine1> | ||
<StateOrProvinceCode>WA</StateOrProvinceCode> | ||
</ShipFromAddress> | ||
<ShipmentId>6f77095e-9f75-47eb-aaab-a42d5428fa1a</ShipmentId> | ||
<ItemList> | ||
<Item> | ||
<OrderItemId>40525960574974</OrderItemId> | ||
<Quantity>1</Quantity> | ||
<ItemWeight>200</ItemWeight> | ||
<ItemDescription>Poster</ItemDescription> | ||
</Item> | ||
</ItemList> | ||
<Status>Purchased</Status> | ||
<TrackingId>794657111237</TrackingId> | ||
</Shipment> | ||
</CreateShipmentResult> | ||
<ResponseMetadata> | ||
<RequestId>adb18f0d-2076-48d4-99ef-fb4b9f892a4e</RequestId> | ||
</ResponseMetadata> | ||
</CreateShipmentResponse> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters