Skip to content

Commit

Permalink
chore: add product options to facilitate evening delivery and sameday…
Browse files Browse the repository at this point in the history
… delivery
  • Loading branch information
sytheveenje committed Jan 24, 2024
1 parent dc75227 commit 5114406
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/LaravelPostnlApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function generateLabel(
array $address = null,
array $contact = null,
string $productCodeDelivery = '3085',
array $productOptions = null,
string $deliveryDate = null,
string $reference = null,
string $remark = null,
Expand All @@ -85,6 +86,7 @@ public function generateLabel(
'Addresses' => $address,
'Contacts' => $contact,
'ProductCodeDelivery' => $productCodeDelivery,
'ProductOptions' => $productOptions,
'DeliveryDate' => $deliveryDate,
'Barcode' => $barcode,
'Reference' => $reference,
Expand Down Expand Up @@ -118,6 +120,7 @@ public function generateLabelForMultiCollo(
array $address = null,
array $contact = null,
string $productCodeDelivery = '3085',
array $productOptions = null,
string $deliveryDate = null,
string $reference = null,
string $remark = null,
Expand All @@ -132,6 +135,7 @@ public function generateLabelForMultiCollo(
'Addresses' => $address,
'Contacts' => $contact,
'ProductCodeDelivery' => $productCodeDelivery,
'ProductOptions' => $productOptions,
'DeliveryDate' => $deliveryDate,
'Barcode' => $barcode,
'Reference' => $reference,
Expand Down Expand Up @@ -186,6 +190,7 @@ public function confirmShipment(
array $address = null,
array $contact = null,
string $productCodeDelivery = '3085',
array $productOptions = null,
string $devilveryDate = null,
string $reference = null,
string $remark = null
Expand All @@ -206,6 +211,7 @@ public function confirmShipment(
'Addresses' => $address,
'Contacts' => $contact,
'ProductCodeDelivery' => $productCodeDelivery,
'ProductOptions' => $productOptions,
'DeliveryDate' => $devilveryDate,
'Barcode' => $barcode,
'Reference' => $reference,
Expand Down

0 comments on commit 5114406

Please sign in to comment.