commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Me
MyCartRemoveDiscountCodeAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Me
;
10
11
use
Commercetools\Api\Models\DiscountCode\DiscountCodeReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
MyCartRemoveDiscountCodeAction
extends
MyCartUpdateAction
16
{
17
public
const
FIELD_DISCOUNT_CODE
=
'discountCode'
;
18
25
public
function
getDiscountCode
();
26
30
public
function
setDiscountCode
(?
DiscountCodeReference
$discountCode): void;
31
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\DiscountCode\DiscountCodeReference
Definition:
DiscountCodeReference.php:16
Commercetools\Api\Models\Me\MyCartRemoveDiscountCodeAction
Definition:
MyCartRemoveDiscountCodeAction.php:16
Commercetools\Api\Models\Me\MyCartRemoveDiscountCodeAction\FIELD_DISCOUNT_CODE
const FIELD_DISCOUNT_CODE
Definition:
MyCartRemoveDiscountCodeAction.php:17
Commercetools\Api\Models\Me\MyCartRemoveDiscountCodeAction\setDiscountCode
setDiscountCode(?DiscountCodeReference $discountCode)
Commercetools\Api\Models\Me\MyCartRemoveDiscountCodeAction\getDiscountCode
getDiscountCode()
Commercetools\Api\Models\Me\MyCartUpdateAction
Definition:
MyCartUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Me
Definition:
MyBusinessUnitAddAddressAction.php:9
Generated by
1.9.1