commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
DeliveryPayload.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
16 interface DeliveryPayload extends JsonObject
17 {
18  public const DISCRIMINATOR_FIELD = 'notificationType';
19  public const FIELD_PROJECT_KEY = 'projectKey';
20  public const FIELD_NOTIFICATION_TYPE = 'notificationType';
21  public const FIELD_RESOURCE = 'resource';
22  public const FIELD_RESOURCE_USER_PROVIDED_IDENTIFIERS = 'resourceUserProvidedIdentifiers';
23 
31  public function getProjectKey();
32 
39  public function getNotificationType();
40 
47  public function getResource();
48 
56 
60  public function setProjectKey(?string $projectKey): void;
61 
65  public function setResource(?Reference $resource): void;
66 
70  public function setResourceUserProvidedIdentifiers(?UserProvidedIdentifiers $resourceUserProvidedIdentifiers): void;
71 }
setResourceUserProvidedIdentifiers(?UserProvidedIdentifiers $resourceUserProvidedIdentifiers)