commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
SyncInfo.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 use DateTimeImmutable;
15 
16 interface SyncInfo extends JsonObject
17 {
18  public const FIELD_CHANNEL = 'channel';
19  public const FIELD_EXTERNAL_ID = 'externalId';
20  public const FIELD_SYNCED_AT = 'syncedAt';
21 
28  public function getChannel();
29 
36  public function getExternalId();
37 
44  public function getSyncedAt();
45 
49  public function setChannel(?ChannelKeyReference $channel): void;
50 
54  public function setExternalId(?string $externalId): void;
55 
59  public function setSyncedAt(?DateTimeImmutable $syncedAt): void;
60 }
setSyncedAt(?DateTimeImmutable $syncedAt)
setChannel(?ChannelKeyReference $channel)