commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartAddDiscountCodeAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
CartAddDiscountCodeAction
extends
CartUpdateAction
15
{
16
public
const
FIELD_CODE
=
'code'
;
17
24
public
function
getCode
();
25
29
public
function
setCode
(?
string
$code): void;
30
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartAddDiscountCodeAction
Definition:
CartAddDiscountCodeAction.php:15
Commercetools\Api\Models\Cart\CartAddDiscountCodeAction\setCode
setCode(?string $code)
Commercetools\Api\Models\Cart\CartAddDiscountCodeAction\getCode
getCode()
Commercetools\Api\Models\Cart\CartAddDiscountCodeAction\FIELD_CODE
const FIELD_CODE
Definition:
CartAddDiscountCodeAction.php:16
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1