commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Extension
ExtensionDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Extension
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
ExtensionDraft
extends
JsonObject
15
{
16
public
const
FIELD_KEY
=
'key'
;
17
public
const
FIELD_DESTINATION
=
'destination'
;
18
public
const
FIELD_TRIGGERS
=
'triggers'
;
19
public
const
FIELD_TIMEOUT_IN_MS
=
'timeoutInMs'
;
20
27
public
function
getKey
();
28
35
public
function
getDestination
();
36
43
public
function
getTriggers
();
44
55
public
function
getTimeoutInMs
();
56
60
public
function
setKey
(?
string
$key): void;
61
65
public
function
setDestination
(?
ExtensionDestination
$destination): void;
66
70
public
function
setTriggers
(?
ExtensionTriggerCollection
$triggers): void;
71
75
public
function
setTimeoutInMs
(?
int
$timeoutInMs): void;
76
}
Commercetools\Api\Models\Extension\ExtensionTriggerCollection
Definition:
ExtensionTriggerCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Extension\ExtensionDestination
Definition:
ExtensionDestination.php:15
Commercetools\Api\Models\Extension\ExtensionDraft
Definition:
ExtensionDraft.php:15
Commercetools\Api\Models\Extension\ExtensionDraft\getKey
getKey()
Commercetools\Api\Models\Extension\ExtensionDraft\FIELD_TRIGGERS
const FIELD_TRIGGERS
Definition:
ExtensionDraft.php:18
Commercetools\Api\Models\Extension\ExtensionDraft\setTimeoutInMs
setTimeoutInMs(?int $timeoutInMs)
Commercetools\Api\Models\Extension\ExtensionDraft\setTriggers
setTriggers(?ExtensionTriggerCollection $triggers)
Commercetools\Api\Models\Extension\ExtensionDraft\FIELD_TIMEOUT_IN_MS
const FIELD_TIMEOUT_IN_MS
Definition:
ExtensionDraft.php:19
Commercetools\Api\Models\Extension\ExtensionDraft\FIELD_KEY
const FIELD_KEY
Definition:
ExtensionDraft.php:16
Commercetools\Api\Models\Extension\ExtensionDraft\getTriggers
getTriggers()
Commercetools\Api\Models\Extension\ExtensionDraft\getDestination
getDestination()
Commercetools\Api\Models\Extension\ExtensionDraft\FIELD_DESTINATION
const FIELD_DESTINATION
Definition:
ExtensionDraft.php:17
Commercetools\Api\Models\Extension\ExtensionDraft\setDestination
setDestination(?ExtensionDestination $destination)
Commercetools\Api\Models\Extension\ExtensionDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Extension\ExtensionDraft\getTimeoutInMs
getTimeoutInMs()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Extension
Definition:
AuthorizationHeaderAuthentication.php:9
Generated by
1.9.1