commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
SubscriptionDraft.php
1<?php
2
3declare(strict_types=1);
10
13
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}
setMessages(?MessageSubscriptionCollection $messages)
setChanges(?ChangeSubscriptionCollection $changes)