commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CartDiscount
CartDiscountSetCustomFieldAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CartDiscount
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
CartDiscountSetCustomFieldAction
extends
CartDiscountUpdateAction
15
{
16
public
const
FIELD_NAME
=
'name'
;
17
public
const
FIELD_VALUE
=
'value'
;
18
25
public
function
getName
();
26
35
public
function
getValue
();
36
40
public
function
setName
(?
string
$name): void;
41
45
public
function
setValue
($value): void;
46
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CartDiscount\CartDiscountSetCustomFieldAction
Definition:
CartDiscountSetCustomFieldAction.php:15
Commercetools\Api\Models\CartDiscount\CartDiscountSetCustomFieldAction\FIELD_VALUE
const FIELD_VALUE
Definition:
CartDiscountSetCustomFieldAction.php:17
Commercetools\Api\Models\CartDiscount\CartDiscountSetCustomFieldAction\FIELD_NAME
const FIELD_NAME
Definition:
CartDiscountSetCustomFieldAction.php:16
Commercetools\Api\Models\CartDiscount\CartDiscountSetCustomFieldAction\getName
getName()
Commercetools\Api\Models\CartDiscount\CartDiscountSetCustomFieldAction\setName
setName(?string $name)
Commercetools\Api\Models\CartDiscount\CartDiscountSetCustomFieldAction\setValue
setValue($value)
Commercetools\Api\Models\CartDiscount\CartDiscountSetCustomFieldAction\getValue
getValue()
Commercetools\Api\Models\CartDiscount\CartDiscountUpdateAction
Definition:
CartDiscountUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CartDiscount
Definition:
CartDiscount.php:9
Generated by
1.9.1