commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
DiscountCode
DiscountCodeUpdate.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\DiscountCode
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
DiscountCodeUpdate
extends
JsonObject
15
{
16
public
const
FIELD_VERSION
=
'version'
;
17
public
const
FIELD_ACTIONS
=
'actions'
;
18
26
public
function
getVersion
();
27
34
public
function
getActions
();
35
39
public
function
setVersion
(?
int
$version): void;
40
44
public
function
setActions
(?
DiscountCodeUpdateActionCollection
$actions): void;
45
}
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdateActionCollection
Definition:
DiscountCodeUpdateActionCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdate
Definition:
DiscountCodeUpdate.php:15
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdate\FIELD_VERSION
const FIELD_VERSION
Definition:
DiscountCodeUpdate.php:16
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdate\getActions
getActions()
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdate\FIELD_ACTIONS
const FIELD_ACTIONS
Definition:
DiscountCodeUpdate.php:17
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdate\setActions
setActions(?DiscountCodeUpdateActionCollection $actions)
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdate\getVersion
getVersion()
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdate\setVersion
setVersion(?int $version)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\DiscountCode
Definition:
DiscountCode.php:9
Generated by
1.9.1