-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENGCOM-3602: [Backport] Fix DHL Quotes for Domestic Shipments when Co…
…ntent Type is set to Non-Document #19488
- Loading branch information
Showing
10 changed files
with
1,124 additions
and
222 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
85 changes: 85 additions & 0 deletions
85
app/code/Magento/Dhl/Test/Unit/Model/_files/apregion_shipment_request.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,85 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<req:ShipmentValidateRequestAP xmlns:req="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com ship-val-req_AP.xsd"> | ||
<Request xmlns=""> | ||
<ServiceHeader> | ||
<SiteID>some ID</SiteID> | ||
<Password>some password</Password> | ||
</ServiceHeader> | ||
</Request> | ||
<LanguageCode xmlns="">EN</LanguageCode> | ||
<PiecesEnabled xmlns="">Y</PiecesEnabled> | ||
<Billing xmlns=""> | ||
<ShipperAccountNumber>1234567890</ShipperAccountNumber> | ||
<ShippingPaymentType>S</ShippingPaymentType> | ||
<BillingAccountNumber>1234567890</BillingAccountNumber> | ||
<DutyPaymentType>S</DutyPaymentType> | ||
<DutyAccountNumber>1234567890</DutyAccountNumber> | ||
</Billing> | ||
<Consignee xmlns=""> | ||
<CompanyName/> | ||
<AddressLine/> | ||
<City/> | ||
<PostalCode/> | ||
<CountryCode/> | ||
<CountryName/> | ||
<Contact> | ||
<PersonName/> | ||
<PhoneNumber/> | ||
</Contact> | ||
</Consignee> | ||
<Commodity xmlns=""> | ||
<CommodityCode>1</CommodityCode> | ||
</Commodity> | ||
<Dutiable xmlns=""> | ||
<DeclaredValue>10.00</DeclaredValue> | ||
<DeclaredCurrency>USD</DeclaredCurrency> | ||
</Dutiable> | ||
<Reference xmlns=""> | ||
<ReferenceID>shipment reference</ReferenceID> | ||
<ReferenceType>St</ReferenceType> | ||
</Reference> | ||
<ShipmentDetails xmlns=""> | ||
<NumberOfPieces>1</NumberOfPieces> | ||
<CurrencyCode>USD</CurrencyCode> | ||
<Pieces xmlns=""> | ||
<Piece xmlns=""> | ||
<PieceID>1</PieceID> | ||
<PackageType>CP</PackageType> | ||
<Weight>0.5</Weight> | ||
<Depth>3</Depth> | ||
<Width>3</Width> | ||
<Height>3</Height> | ||
<PieceContents>item_name</PieceContents> | ||
</Piece> | ||
</Pieces> | ||
<PackageType>CP</PackageType> | ||
<Weight>0.454</Weight> | ||
<DimensionUnit>C</DimensionUnit> | ||
<WeightUnit>K</WeightUnit> | ||
<GlobalProductCode/> | ||
<LocalProductCode/> | ||
<DoorTo>DD</DoorTo> | ||
<Date/> | ||
<Contents>DHL Parcel TEST</Contents> | ||
</ShipmentDetails> | ||
<Shipper xmlns=""> | ||
<ShipperID>1234567890</ShipperID> | ||
<CompanyName/> | ||
<AddressLine/> | ||
<City/> | ||
<PostalCode/> | ||
<CountryCode/> | ||
<CountryName/> | ||
<Contact xmlns=""> | ||
<PersonName/> | ||
<PhoneNumber/> | ||
</Contact> | ||
</Shipper> | ||
<LabelImageFormat xmlns="">PDF</LabelImageFormat> | ||
</req:ShipmentValidateRequestAP> |
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
Oops, something went wrong.