commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
DiscountCodeKeySetMessagePayload.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
DiscountCodeKeySetMessagePayload
extends
MessagePayload
15
{
16
public
const
FIELD_KEY
=
'key'
;
17
public
const
FIELD_OLD_KEY
=
'oldKey'
;
18
25
public
function
getKey
();
26
33
public
function
getOldKey
();
34
38
public
function
setKey
(?
string
$key): void;
39
43
public
function
setOldKey
(?
string
$oldKey): void;
44
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\DiscountCodeKeySetMessagePayload
Definition:
DiscountCodeKeySetMessagePayload.php:15
Commercetools\Api\Models\Message\DiscountCodeKeySetMessagePayload\FIELD_KEY
const FIELD_KEY
Definition:
DiscountCodeKeySetMessagePayload.php:16
Commercetools\Api\Models\Message\DiscountCodeKeySetMessagePayload\setKey
setKey(?string $key)
Commercetools\Api\Models\Message\DiscountCodeKeySetMessagePayload\setOldKey
setOldKey(?string $oldKey)
Commercetools\Api\Models\Message\DiscountCodeKeySetMessagePayload\getKey
getKey()
Commercetools\Api\Models\Message\DiscountCodeKeySetMessagePayload\FIELD_OLD_KEY
const FIELD_OLD_KEY
Definition:
DiscountCodeKeySetMessagePayload.php:17
Commercetools\Api\Models\Message\DiscountCodeKeySetMessagePayload\getOldKey
getOldKey()
Commercetools\Api\Models\Message\MessagePayload
Definition:
MessagePayload.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1