Skip to content

Commit

Permalink
WIZ-434 add method OrderService::getHandDeliveryCodes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-wizaplace authored and wizacedric committed Dec 21, 2018
1 parent 552230a commit 4697b06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

### Next release

### New features

- Added `Wizaplace\SDK\Vendor\Order\OrderService::getHandDeliveryCodes`

### 1.44.0

### New features
Expand Down
7 changes: 7 additions & 0 deletions src/Vendor/Order/OrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ public function listTaxes(): array
}, $taxesData);
}

public function getHandDeliveryCodes(int $orderId): array
{
$this->client->mustBeAuthenticated();

return $this->client->get("orders/${orderId}/handDelivery");
}

public function reportHandDelivery(int $orderId, ?string $deliveryCode): void
{
$this->client->mustBeAuthenticated();
Expand Down

0 comments on commit 4697b06

Please sign in to comment.