commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-api
src
Models
CartDiscount
CountOnCustomLineItemUnits.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
CountOnCustomLineItemUnits
extends
PatternComponent
15
{
16
public
const
FIELD_PREDICATE
=
'predicate'
;
17
public
const
FIELD_MIN_COUNT
=
'minCount'
;
18
public
const
FIELD_MAX_COUNT
=
'maxCount'
;
19
public
const
FIELD_EXCLUDE_COUNT
=
'excludeCount'
;
20
27
public
function
getPredicate
();
28
35
public
function
getMinCount
();
36
46
public
function
getMaxCount
();
47
58
public
function
getExcludeCount
();
59
63
public
function
setPredicate
(?
string
$predicate): void;
64
68
public
function
setMinCount
(?
int
$minCount): void;
69
73
public
function
setMaxCount
(?
int
$maxCount): void;
74
78
public
function
setExcludeCount
(?
int
$excludeCount): void;
79
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits
Definition
CountOnCustomLineItemUnits.php:15
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\FIELD_MIN_COUNT
const FIELD_MIN_COUNT
Definition
CountOnCustomLineItemUnits.php:17
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\setPredicate
setPredicate(?string $predicate)
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\getMaxCount
getMaxCount()
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\setExcludeCount
setExcludeCount(?int $excludeCount)
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\getExcludeCount
getExcludeCount()
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\setMaxCount
setMaxCount(?int $maxCount)
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\getPredicate
getPredicate()
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\FIELD_PREDICATE
const FIELD_PREDICATE
Definition
CountOnCustomLineItemUnits.php:16
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\setMinCount
setMinCount(?int $minCount)
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\FIELD_MAX_COUNT
const FIELD_MAX_COUNT
Definition
CountOnCustomLineItemUnits.php:18
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\FIELD_EXCLUDE_COUNT
const FIELD_EXCLUDE_COUNT
Definition
CountOnCustomLineItemUnits.php:19
Commercetools\Api\Models\CartDiscount\CountOnCustomLineItemUnits\getMinCount
getMinCount()
Commercetools\Api\Models\CartDiscount\PatternComponent
Definition
PatternComponent.php:15
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Api\Models\CartDiscount
Definition
CartDiscount.php:9
Generated by
1.9.8