commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
Event.php
1<?php
2
3declare(strict_types=1);
10
13use DateTimeImmutable;
14
15interface Event extends JsonObject
16{
17 public const DISCRIMINATOR_FIELD = 'type';
18 public const FIELD_ID = 'id';
19 public const FIELD_NOTIFICATION_TYPE = 'notificationType';
20 public const FIELD_RESOURCE_TYPE = 'resourceType';
21 public const FIELD_TYPE = 'type';
22 public const FIELD_CREATED_AT = 'createdAt';
23
30 public function getId();
31
36 public function getNotificationType();
37
44 public function getResourceType();
45
52 public function getType();
53
60 public function getCreatedAt();
61
65 public function setId(?string $id): void;
66
70 public function setNotificationType(?string $notificationType): void;
71
75 public function setResourceType(?string $resourceType): void;
76
80 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
81}
setNotificationType(?string $notificationType)
setResourceType(?string $resourceType)
setCreatedAt(?DateTimeImmutable $createdAt)