commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ImportContainer.php
1<?php
2
3declare(strict_types=1);
10
13use DateTimeImmutable;
14
15interface ImportContainer extends JsonObject
16{
17 public const FIELD_KEY = 'key';
18 public const FIELD_RESOURCE_TYPE = 'resourceType';
19 public const FIELD_VERSION = 'version';
20 public const FIELD_CREATED_AT = 'createdAt';
21 public const FIELD_LAST_MODIFIED_AT = 'lastModifiedAt';
22
30 public function getKey();
31
39 public function getResourceType();
40
47 public function getVersion();
48
55 public function getCreatedAt();
56
63 public function getLastModifiedAt();
64
68 public function setKey(?string $key): void;
69
73 public function setResourceType(?string $resourceType): void;
74
78 public function setVersion(?int $version): void;
79
83 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
84
88 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
89}
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)