commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductDiscount
ProductDiscountUpdate.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductDiscount
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
ProductDiscountUpdate
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
(?
ProductDiscountUpdateActionCollection
$actions): void;
45
}
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdateActionCollection
Definition:
ProductDiscountUpdateActionCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdate
Definition:
ProductDiscountUpdate.php:15
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdate\getActions
getActions()
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdate\setActions
setActions(?ProductDiscountUpdateActionCollection $actions)
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdate\FIELD_VERSION
const FIELD_VERSION
Definition:
ProductDiscountUpdate.php:16
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdate\getVersion
getVersion()
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdate\FIELD_ACTIONS
const FIELD_ACTIONS
Definition:
ProductDiscountUpdate.php:17
Commercetools\Api\Models\ProductDiscount\ProductDiscountUpdate\setVersion
setVersion(?int $version)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductDiscount
Definition:
ProductDiscount.php:9
Generated by
1.9.1