commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Extension.php
1 <?php
2 
3 declare(strict_types=1);
10 
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 }
setTriggers(?ExtensionTriggerCollection $triggers)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setCreatedAt(?DateTimeImmutable $createdAt)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
setDestination(?ExtensionDestination $destination)