commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Subscription
SubscriptionDraft.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
14
interface
SubscriptionDraft
extends
JsonObject
15
{
16
public
const
FIELD_CHANGES
=
'changes'
;
17
public
const
FIELD_DESTINATION
=
'destination'
;
18
public
const
FIELD_KEY
=
'key'
;
19
public
const
FIELD_MESSAGES
=
'messages'
;
20
public
const
FIELD_FORMAT
=
'format'
;
21
28
public
function
getChanges
();
29
36
public
function
getDestination
();
37
44
public
function
getKey
();
45
52
public
function
getMessages
();
53
60
public
function
getFormat
();
61
65
public
function
setChanges
(?
ChangeSubscriptionCollection
$changes): void;
66
70
public
function
setDestination
(?
Destination
$destination): void;
71
75
public
function
setKey
(?
string
$key): void;
76
80
public
function
setMessages
(?
MessageSubscriptionCollection
$messages): void;
81
85
public
function
setFormat
(?
DeliveryFormat
$format): void;
86
}
Commercetools\Api\Models\Subscription\ChangeSubscriptionCollection
Definition:
ChangeSubscriptionCollection.php:22
Commercetools\Api\Models\Subscription\MessageSubscriptionCollection
Definition:
MessageSubscriptionCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Subscription\DeliveryFormat
Definition:
DeliveryFormat.php:15
Commercetools\Api\Models\Subscription\Destination
Definition:
Destination.php:15
Commercetools\Api\Models\Subscription\SubscriptionDraft
Definition:
SubscriptionDraft.php:15
Commercetools\Api\Models\Subscription\SubscriptionDraft\FIELD_FORMAT
const FIELD_FORMAT
Definition:
SubscriptionDraft.php:20
Commercetools\Api\Models\Subscription\SubscriptionDraft\FIELD_DESTINATION
const FIELD_DESTINATION
Definition:
SubscriptionDraft.php:17
Commercetools\Api\Models\Subscription\SubscriptionDraft\getKey
getKey()
Commercetools\Api\Models\Subscription\SubscriptionDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Subscription\SubscriptionDraft\setDestination
setDestination(?Destination $destination)
Commercetools\Api\Models\Subscription\SubscriptionDraft\getMessages
getMessages()
Commercetools\Api\Models\Subscription\SubscriptionDraft\setFormat
setFormat(?DeliveryFormat $format)
Commercetools\Api\Models\Subscription\SubscriptionDraft\FIELD_MESSAGES
const FIELD_MESSAGES
Definition:
SubscriptionDraft.php:19
Commercetools\Api\Models\Subscription\SubscriptionDraft\FIELD_CHANGES
const FIELD_CHANGES
Definition:
SubscriptionDraft.php:16
Commercetools\Api\Models\Subscription\SubscriptionDraft\getDestination
getDestination()
Commercetools\Api\Models\Subscription\SubscriptionDraft\getChanges
getChanges()
Commercetools\Api\Models\Subscription\SubscriptionDraft\setMessages
setMessages(?MessageSubscriptionCollection $messages)
Commercetools\Api\Models\Subscription\SubscriptionDraft\FIELD_KEY
const FIELD_KEY
Definition:
SubscriptionDraft.php:18
Commercetools\Api\Models\Subscription\SubscriptionDraft\setChanges
setChanges(?ChangeSubscriptionCollection $changes)
Commercetools\Api\Models\Subscription\SubscriptionDraft\getFormat
getFormat()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Subscription
Definition:
AzureEventGridDestination.php:9
Generated by
1.9.1