commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ApiClientDraft.php
1<?php
2
3declare(strict_types=1);
10
13
14interface ApiClientDraft extends JsonObject
15{
16 public const FIELD_NAME = 'name';
17 public const FIELD_SCOPE = 'scope';
18 public const FIELD_DELETE_DAYS_AFTER_CREATION = 'deleteDaysAfterCreation';
19 public const FIELD_ACCESS_TOKEN_VALIDITY_SECONDS = 'accessTokenValiditySeconds';
20 public const FIELD_REFRESH_TOKEN_VALIDITY_SECONDS = 'refreshTokenValiditySeconds';
21
28 public function getName();
29
36 public function getScope();
37
44 public function getDeleteDaysAfterCreation();
45
53
61
65 public function setName(?string $name): void;
66
70 public function setScope(?string $scope): void;
71
75 public function setDeleteDaysAfterCreation(?int $deleteDaysAfterCreation): void;
76
80 public function setAccessTokenValiditySeconds(?int $accessTokenValiditySeconds): void;
81
85 public function setRefreshTokenValiditySeconds(?int $refreshTokenValiditySeconds): void;
86}
setAccessTokenValiditySeconds(?int $accessTokenValiditySeconds)
setRefreshTokenValiditySeconds(?int $refreshTokenValiditySeconds)
setDeleteDaysAfterCreation(?int $deleteDaysAfterCreation)