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

Commit d073700

Browse files
author
Barbara Palumbo
committed
feat(ApiClient): add property for token validity shipping matching location adding sort
1 parent 0b43652 commit d073700

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

src/Core/Model/ApiClient/ApiClient.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
* @method ApiClient setSecret(string $secret = null)
2727
* @method DateTimeDecorator getDeleteAt()
2828
* @method ApiClient setDeleteAt(DateTime $deleteAt = null)
29+
* @method int getAccessTokenValiditySeconds()
30+
* @method ApiClient setAccessTokenValiditySeconds(int $accessTokenValiditySeconds = null)
31+
* @method int getRefreshTokenValiditySeconds()
32+
* @method ApiClient setRefreshTokenValiditySeconds(int $refreshTokenValiditySeconds = null)
2933
*/
3034
class ApiClient extends JsonObject
3135
{

src/Core/Model/ApiClient/ApiClientDraft.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
* @method ApiClientDraft setScope(string $scope = null)
1717
* @method int getDeleteDaysAfterCreation()
1818
* @method ApiClientDraft setDeleteDaysAfterCreation(int $deleteDaysAfterCreation = null)
19+
* @method int getAccessTokenValiditySeconds()
20+
* @method ApiClientDraft setAccessTokenValiditySeconds(int $accessTokenValiditySeconds = null)
21+
* @method int getRefreshTokenValiditySeconds()
22+
* @method ApiClientDraft setRefreshTokenValiditySeconds(int $refreshTokenValiditySeconds = null)
1923
*/
2024
class ApiClientDraft extends JsonObject
2125
{

src/Core/Request/ShippingMethods/ShippingMethodByMatchingLocationGetRequest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Commercetools\Core\Model\ShippingMethod\ShippingMethodCollection;
1313
use Commercetools\Core\Request\AbstractApiRequest;
1414
use Commercetools\Core\Request\ExpandTrait;
15+
use Commercetools\Core\Request\SortTrait;
1516
use Commercetools\Core\Response\ApiResponseInterface;
1617
use Commercetools\Core\Response\PagedQueryResponse;
1718
use Psr\Http\Message\ResponseInterface;
@@ -25,6 +26,7 @@
2526
class ShippingMethodByMatchingLocationGetRequest extends AbstractApiRequest
2627
{
2728
use ExpandTrait;
29+
use SortTrait;
2830

2931
protected $resultClass = ShippingMethodCollection::class;
3032

0 commit comments

Comments
 (0)