commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Extension
Extension.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Extension
;
10
11
use
Commercetools\Api\Models\Common\BaseResource
;
12
use
Commercetools\Api\Models\Common\CreatedBy
;
13
use
Commercetools\Api\Models\Common\LastModifiedBy
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
use DateTimeImmutable;
17
18
interface
Extension
extends
BaseResource
19
{
20
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
21
public
const
FIELD_CREATED_BY
=
'createdBy'
;
22
public
const
FIELD_KEY
=
'key'
;
23
public
const
FIELD_DESTINATION
=
'destination'
;
24
public
const
FIELD_TRIGGERS
=
'triggers'
;
25
public
const
FIELD_TIMEOUT_IN_MS
=
'timeoutInMs'
;
26
33
public
function
getId
();
34
41
public
function
getVersion
();
42
49
public
function
getCreatedAt
();
50
57
public
function
getLastModifiedAt
();
58
65
public
function
getLastModifiedBy
();
66
73
public
function
getCreatedBy
();
74
81
public
function
getKey
();
82
89
public
function
getDestination
();
90
97
public
function
getTriggers
();
98
107
public
function
getTimeoutInMs
();
108
112
public
function
setId
(?
string
$id): void;
113
117
public
function
setVersion
(?
int
$version): void;
118
122
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
123
127
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
128
132
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
133
137
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
138
142
public
function
setKey
(?
string
$key): void;
143
147
public
function
setDestination
(?
ExtensionDestination
$destination): void;
148
152
public
function
setTriggers
(?
ExtensionTriggerCollection
$triggers): void;
153
157
public
function
setTimeoutInMs
(?
int
$timeoutInMs): void;
158
}
Commercetools\Api\Models\Extension\ExtensionTriggerCollection
Definition:
ExtensionTriggerCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\Extension\ExtensionDestination
Definition:
ExtensionDestination.php:15
Commercetools\Api\Models\Extension\Extension
Definition:
Extension.php:19
Commercetools\Api\Models\Extension\Extension\FIELD_KEY
const FIELD_KEY
Definition:
Extension.php:22
Commercetools\Api\Models\Extension\Extension\getTriggers
getTriggers()
Commercetools\Api\Models\Extension\Extension\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Extension\Extension\getDestination
getDestination()
Commercetools\Api\Models\Extension\Extension\setTimeoutInMs
setTimeoutInMs(?int $timeoutInMs)
Commercetools\Api\Models\Extension\Extension\setId
setId(?string $id)
Commercetools\Api\Models\Extension\Extension\getTimeoutInMs
getTimeoutInMs()
Commercetools\Api\Models\Extension\Extension\FIELD_TIMEOUT_IN_MS
const FIELD_TIMEOUT_IN_MS
Definition:
Extension.php:25
Commercetools\Api\Models\Extension\Extension\setTriggers
setTriggers(?ExtensionTriggerCollection $triggers)
Commercetools\Api\Models\Extension\Extension\setKey
setKey(?string $key)
Commercetools\Api\Models\Extension\Extension\getId
getId()
Commercetools\Api\Models\Extension\Extension\getVersion
getVersion()
Commercetools\Api\Models\Extension\Extension\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\Extension\Extension\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
Extension.php:20
Commercetools\Api\Models\Extension\Extension\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\Extension\Extension\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Extension\Extension\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\Extension\Extension\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\Extension\Extension\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
Extension.php:21
Commercetools\Api\Models\Extension\Extension\FIELD_DESTINATION
const FIELD_DESTINATION
Definition:
Extension.php:23
Commercetools\Api\Models\Extension\Extension\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\Extension\Extension\getKey
getKey()
Commercetools\Api\Models\Extension\Extension\FIELD_TRIGGERS
const FIELD_TRIGGERS
Definition:
Extension.php:24
Commercetools\Api\Models\Extension\Extension\setDestination
setDestination(?ExtensionDestination $destination)
Commercetools\Api\Models\Extension\Extension\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\Extension\Extension\getCreatedAt
getCreatedAt()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Extension
Definition:
AuthorizationHeaderAuthentication.php:9
Generated by
1.9.1