commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Subscription
DeliveryPayload.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Subscription
;
10
11
use
Commercetools\Api\Models\Common\Reference
;
12
use
Commercetools\Api\Models\Message\UserProvidedIdentifiers
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
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
55
public
function
getResourceUserProvidedIdentifiers
();
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\Reference
Definition:
Reference.php:50
Commercetools\Api\Models\Message\UserProvidedIdentifiers
Definition:
UserProvidedIdentifiers.php:16
Commercetools\Api\Models\Subscription\DeliveryPayload
Definition:
DeliveryPayload.php:17
Commercetools\Api\Models\Subscription\DeliveryPayload\setResourceUserProvidedIdentifiers
setResourceUserProvidedIdentifiers(?UserProvidedIdentifiers $resourceUserProvidedIdentifiers)
Commercetools\Api\Models\Subscription\DeliveryPayload\setResource
setResource(?Reference $resource)
Commercetools\Api\Models\Subscription\DeliveryPayload\FIELD_PROJECT_KEY
const FIELD_PROJECT_KEY
Definition:
DeliveryPayload.php:19
Commercetools\Api\Models\Subscription\DeliveryPayload\getNotificationType
getNotificationType()
Commercetools\Api\Models\Subscription\DeliveryPayload\FIELD_RESOURCE
const FIELD_RESOURCE
Definition:
DeliveryPayload.php:21
Commercetools\Api\Models\Subscription\DeliveryPayload\setProjectKey
setProjectKey(?string $projectKey)
Commercetools\Api\Models\Subscription\DeliveryPayload\DISCRIMINATOR_FIELD
const DISCRIMINATOR_FIELD
Definition:
DeliveryPayload.php:18
Commercetools\Api\Models\Subscription\DeliveryPayload\FIELD_NOTIFICATION_TYPE
const FIELD_NOTIFICATION_TYPE
Definition:
DeliveryPayload.php:20
Commercetools\Api\Models\Subscription\DeliveryPayload\FIELD_RESOURCE_USER_PROVIDED_IDENTIFIERS
const FIELD_RESOURCE_USER_PROVIDED_IDENTIFIERS
Definition:
DeliveryPayload.php:22
Commercetools\Api\Models\Subscription\DeliveryPayload\getProjectKey
getProjectKey()
Commercetools\Api\Models\Subscription\DeliveryPayload\getResource
getResource()
Commercetools\Api\Models\Subscription\DeliveryPayload\getResourceUserProvidedIdentifiers
getResourceUserProvidedIdentifiers()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Subscription
Definition:
AzureEventGridDestination.php:9
Generated by
1.9.1