@@ -1275,15 +1275,17 @@ protected function _formShipmentRequest(\Magento\Framework\DataObject $request)
1275
1275
],
1276
1276
],
1277
1277
'commodities ' => [
1278
- 'weight ' => ['units ' => $ weightUnits , 'value ' => $ request ->getPackageWeight ()],
1279
- 'numberOfPieces ' => 1 ,
1280
- 'countryOfManufacture ' => implode (', ' , array_unique ($ countriesOfManufacture )),
1281
- 'description ' => implode (', ' , $ itemsDesc ),
1282
- 'quantity ' => ceil ($ itemsQty ),
1283
- 'quantityUnits ' => 'pcs ' ,
1284
- 'unitPrice ' => ['currency ' => $ request ->getBaseCurrencyCode (), 'amount ' => $ unitPrice ],
1285
- 'customsValue ' => ['currency ' => $ request ->getBaseCurrencyCode (), 'amount ' => $ customsValue ],
1286
- ],
1278
+ [
1279
+ 'weight ' => ['units ' => $ weightUnits , 'value ' => $ request ->getPackageWeight ()],
1280
+ 'numberOfPieces ' => 1 ,
1281
+ 'countryOfManufacture ' => implode (', ' , array_unique ($ countriesOfManufacture )),
1282
+ 'description ' => implode (', ' , $ itemsDesc ),
1283
+ 'quantity ' => ceil ($ itemsQty ),
1284
+ 'quantityUnits ' => 'pcs ' ,
1285
+ 'unitPrice ' => ['currency ' => $ request ->getBaseCurrencyCode (), 'amount ' => $ unitPrice ],
1286
+ 'customsValue ' => ['currency ' => $ request ->getBaseCurrencyCode (), 'amount ' => $ customsValue ],
1287
+ ]
1288
+ ]
1287
1289
];
1288
1290
}
1289
1291
0 commit comments