commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
CartDiscountCreatedMessagePayload.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\CartDiscount\CartDiscount
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CartDiscountCreatedMessagePayload
extends
MessagePayload
16
{
17
public
const
FIELD_CART_DISCOUNT
=
'cartDiscount'
;
18
25
public
function
getCartDiscount
();
26
30
public
function
setCartDiscount
(?
CartDiscount
$cartDiscount): void;
31
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CartDiscount\CartDiscount
Definition:
CartDiscount.php:23
Commercetools\Api\Models\Message\CartDiscountCreatedMessagePayload
Definition:
CartDiscountCreatedMessagePayload.php:16
Commercetools\Api\Models\Message\CartDiscountCreatedMessagePayload\getCartDiscount
getCartDiscount()
Commercetools\Api\Models\Message\CartDiscountCreatedMessagePayload\FIELD_CART_DISCOUNT
const FIELD_CART_DISCOUNT
Definition:
CartDiscountCreatedMessagePayload.php:17
Commercetools\Api\Models\Message\CartDiscountCreatedMessagePayload\setCartDiscount
setCartDiscount(?CartDiscount $cartDiscount)
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