Skip to content

Commit

Permalink
Add Services to Shipments
Browse files Browse the repository at this point in the history
  • Loading branch information
Moustafa22 committed Dec 22, 2020
1 parent 38d9d35 commit efd72be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public function initializeShipment($shipper , $consignee , $details)
'NumberOfPieces' => $details->NumberOfPieces,
'DescriptionOfGoods' => $details->DescriptionOfGoods,
'GoodsOriginCountry' => $details->GoodsOriginCountry,
'Services' => $details->Services,

// Optionals Depending on Payment terms above

Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/AramexHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public static function extractShipmentDetails($param = []){
$shipmentDetails->PaymentType = $param['payment_type'] ?? config('aramex.Payment');
$shipmentDetails->PaymentType = $param['payment_type'] ?? config('aramex.Payment');
$shipmentDetails->PaymentOptions = $param['payment_type'] ?? config('aramex.PaymentOptions');

$shipmentDetails->Services = $param['services'] ?? config('aramex.Services');

$shipmentDetails->DescriptionOfGoods = $param['description'] ?? "";

Expand Down

0 comments on commit efd72be

Please sign in to comment.