Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit ee7620f

Browse files
author
Barbara Palumbo
committed
feat(InStoreRequest): add request to InStoreRequests to add new shipping method endpoint
1 parent ec6fe5f commit ee7620f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Core/Request/InStores/InStoreRequests.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
use Commercetools\Core\Request\Orders\OrderQueryRequest;
4343
use Commercetools\Core\Request\Orders\OrderUpdateByOrderNumberRequest;
4444
use Commercetools\Core\Request\Orders\OrderUpdateRequest;
45+
use Commercetools\Core\Request\ShippingMethods\ShippingMethodByCartIdGetRequest;
46+
use Commercetools\Core\Request\ShippingMethods\ShippingMethodByIdGetRequest;
47+
use Commercetools\Core\Request\ShippingMethods\ShippingMethodCreateRequest;
48+
use Commercetools\Core\Request\ShippingMethods\ShippingMethodDeleteRequest;
4549

4650
class InStoreRequests
4751
{
@@ -83,6 +87,7 @@ class InStoreRequests
8387
CustomerEmailConfirmRequest::class => 1,
8488
CustomerUpdateRequest::class => 1,
8589
CustomerUpdateByKeyRequest::class => 1,
90+
ShippingMethodByCartIdGetRequest::class => 1,
8691
];
8792

8893
public function can($request)

0 commit comments

Comments
 (0)