Skip to content

Commit

Permalink
Enable saturday delivery
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Nov 15, 2019
1 parent 8d8dde5 commit d8ae486
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -294,6 +294,10 @@ private ShipmentServiceData createShipmentServiceData(
// ProductAndService Data
final ProductAndServiceData productAndServiceData = shipmentServiceOF.createProductAndServiceData();
shipmentServiceData.setProductAndServiceData(productAndServiceData);
{
// only works with E12 product
productAndServiceData.setSaturdayDelivery(DpdServiceType.DPD_E12.equals(deliveryOrder.getServiceType()));
}
{
// Shipper Product
productAndServiceData.setOrderType(DpdOrderCustomDeliveryData.cast(deliveryOrder.getCustomDeliveryData()).getOrderType()); // this is somehow related to product: CL; and i think it should always be "consignment"
Expand Down

0 comments on commit d8ae486

Please sign in to comment.