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