commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CustomObject.php
1<?php
2
3declare(strict_types=1);
10
16use DateTimeImmutable;
17
18interface CustomObject extends BaseResource
19{
20 public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
21 public const FIELD_CREATED_BY = 'createdBy';
22 public const FIELD_CONTAINER = 'container';
23 public const FIELD_KEY = 'key';
24 public const FIELD_VALUE = 'value';
25
32 public function getId();
33
40 public function getVersion();
41
48 public function getCreatedAt();
49
56 public function getLastModifiedAt();
57
64 public function getLastModifiedBy();
65
72 public function getCreatedBy();
73
80 public function getContainer();
81
88 public function getKey();
89
99 public function getValue();
100
104 public function setId(?string $id): void;
105
109 public function setVersion(?int $version): void;
110
114 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
115
119 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
120
124 public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
125
129 public function setCreatedBy(?CreatedBy $createdBy): void;
130
134 public function setContainer(?string $container): void;
135
139 public function setKey(?string $key): void;
140
144 public function setValue($value): void;
145}
setCreatedAt(?DateTimeImmutable $createdAt)
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)