commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ExtensionDraft.php
1<?php
2
3declare(strict_types=1);
10
13
14interface 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}
setTriggers(?ExtensionTriggerCollection $triggers)
setDestination(?ExtensionDestination $destination)