commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Subscription
MessageDeliveryPayload.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Subscription
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use DateTimeImmutable;
14
15
interface
MessageDeliveryPayload
extends
DeliveryPayload
16
{
17
public
const
FIELD_ID
=
'id'
;
18
public
const
FIELD_VERSION
=
'version'
;
19
public
const
FIELD_CREATED_AT
=
'createdAt'
;
20
public
const
FIELD_LAST_MODIFIED_AT
=
'lastModifiedAt'
;
21
public
const
FIELD_SEQUENCE_NUMBER
=
'sequenceNumber'
;
22
public
const
FIELD_RESOURCE_VERSION
=
'resourceVersion'
;
23
public
const
FIELD_PAYLOAD_NOT_INCLUDED
=
'payloadNotIncluded'
;
24
31
public
function
getId
();
32
39
public
function
getVersion
();
40
47
public
function
getCreatedAt
();
48
55
public
function
getLastModifiedAt
();
56
64
public
function
getSequenceNumber
();
65
72
public
function
getResourceVersion
();
73
80
public
function
getPayloadNotIncluded
();
81
85
public
function
setId
(?
string
$id): void;
86
90
public
function
setVersion
(?
int
$version): void;
91
95
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
96
100
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
101
105
public
function
setSequenceNumber
(?
int
$sequenceNumber): void;
106
110
public
function
setResourceVersion
(?
int
$resourceVersion): void;
111
115
public
function
setPayloadNotIncluded
(?
PayloadNotIncluded
$payloadNotIncluded): void;
116
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Subscription\DeliveryPayload
Definition:
DeliveryPayload.php:17
Commercetools\Api\Models\Subscription\MessageDeliveryPayload
Definition:
MessageDeliveryPayload.php:16
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\FIELD_SEQUENCE_NUMBER
const FIELD_SEQUENCE_NUMBER
Definition:
MessageDeliveryPayload.php:21
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\setResourceVersion
setResourceVersion(?int $resourceVersion)
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\FIELD_VERSION
const FIELD_VERSION
Definition:
MessageDeliveryPayload.php:18
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\FIELD_CREATED_AT
const FIELD_CREATED_AT
Definition:
MessageDeliveryPayload.php:19
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\FIELD_ID
const FIELD_ID
Definition:
MessageDeliveryPayload.php:17
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\getPayloadNotIncluded
getPayloadNotIncluded()
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\FIELD_PAYLOAD_NOT_INCLUDED
const FIELD_PAYLOAD_NOT_INCLUDED
Definition:
MessageDeliveryPayload.php:23
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\setPayloadNotIncluded
setPayloadNotIncluded(?PayloadNotIncluded $payloadNotIncluded)
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\setSequenceNumber
setSequenceNumber(?int $sequenceNumber)
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\getId
getId()
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\getVersion
getVersion()
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\getResourceVersion
getResourceVersion()
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\FIELD_LAST_MODIFIED_AT
const FIELD_LAST_MODIFIED_AT
Definition:
MessageDeliveryPayload.php:20
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\getSequenceNumber
getSequenceNumber()
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\FIELD_RESOURCE_VERSION
const FIELD_RESOURCE_VERSION
Definition:
MessageDeliveryPayload.php:22
Commercetools\Api\Models\Subscription\MessageDeliveryPayload\setId
setId(?string $id)
Commercetools\Api\Models\Subscription\PayloadNotIncluded
Definition:
PayloadNotIncluded.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Subscription
Definition:
AzureEventGridDestination.php:9
Generated by
1.9.1