commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ApiClient
ApiClientDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ApiClient
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
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
52
public
function
getAccessTokenValiditySeconds
();
53
60
public
function
getRefreshTokenValiditySeconds
();
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ApiClient\ApiClientDraft
Definition:
ApiClientDraft.php:15
Commercetools\Api\Models\ApiClient\ApiClientDraft\setAccessTokenValiditySeconds
setAccessTokenValiditySeconds(?int $accessTokenValiditySeconds)
Commercetools\Api\Models\ApiClient\ApiClientDraft\getAccessTokenValiditySeconds
getAccessTokenValiditySeconds()
Commercetools\Api\Models\ApiClient\ApiClientDraft\FIELD_SCOPE
const FIELD_SCOPE
Definition:
ApiClientDraft.php:17
Commercetools\Api\Models\ApiClient\ApiClientDraft\getScope
getScope()
Commercetools\Api\Models\ApiClient\ApiClientDraft\setName
setName(?string $name)
Commercetools\Api\Models\ApiClient\ApiClientDraft\FIELD_ACCESS_TOKEN_VALIDITY_SECONDS
const FIELD_ACCESS_TOKEN_VALIDITY_SECONDS
Definition:
ApiClientDraft.php:19
Commercetools\Api\Models\ApiClient\ApiClientDraft\getName
getName()
Commercetools\Api\Models\ApiClient\ApiClientDraft\getRefreshTokenValiditySeconds
getRefreshTokenValiditySeconds()
Commercetools\Api\Models\ApiClient\ApiClientDraft\FIELD_DELETE_DAYS_AFTER_CREATION
const FIELD_DELETE_DAYS_AFTER_CREATION
Definition:
ApiClientDraft.php:18
Commercetools\Api\Models\ApiClient\ApiClientDraft\getDeleteDaysAfterCreation
getDeleteDaysAfterCreation()
Commercetools\Api\Models\ApiClient\ApiClientDraft\setRefreshTokenValiditySeconds
setRefreshTokenValiditySeconds(?int $refreshTokenValiditySeconds)
Commercetools\Api\Models\ApiClient\ApiClientDraft\setScope
setScope(?string $scope)
Commercetools\Api\Models\ApiClient\ApiClientDraft\FIELD_NAME
const FIELD_NAME
Definition:
ApiClientDraft.php:16
Commercetools\Api\Models\ApiClient\ApiClientDraft\FIELD_REFRESH_TOKEN_VALIDITY_SECONDS
const FIELD_REFRESH_TOKEN_VALIDITY_SECONDS
Definition:
ApiClientDraft.php:20
Commercetools\Api\Models\ApiClient\ApiClientDraft\setDeleteDaysAfterCreation
setDeleteDaysAfterCreation(?int $deleteDaysAfterCreation)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ApiClient
Definition:
ApiClient.php:9
Generated by
1.9.1