commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CartDiscount
MultiBuyLineItemsTarget.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
MultiBuyLineItemsTarget
extends
CartDiscountTarget
15
{
16
public
const
FIELD_PREDICATE
=
'predicate'
;
17
public
const
FIELD_TRIGGER_QUANTITY
=
'triggerQuantity'
;
18
public
const
FIELD_DISCOUNTED_QUANTITY
=
'discountedQuantity'
;
19
public
const
FIELD_MAX_OCCURRENCE
=
'maxOccurrence'
;
20
public
const
FIELD_SELECTION_MODE
=
'selectionMode'
;
21
28
public
function
getPredicate
();
29
36
public
function
getTriggerQuantity
();
37
45
public
function
getDiscountedQuantity
();
46
54
public
function
getMaxOccurrence
();
55
62
public
function
getSelectionMode
();
63
67
public
function
setPredicate
(?
string
$predicate): void;
68
72
public
function
setTriggerQuantity
(?
int
$triggerQuantity): void;
73
77
public
function
setDiscountedQuantity
(?
int
$discountedQuantity): void;
78
82
public
function
setMaxOccurrence
(?
int
$maxOccurrence): void;
83
87
public
function
setSelectionMode
(?
string
$selectionMode): void;
88
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CartDiscount\CartDiscountTarget
Definition:
CartDiscountTarget.php:15
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget
Definition:
MultiBuyLineItemsTarget.php:15
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\FIELD_DISCOUNTED_QUANTITY
const FIELD_DISCOUNTED_QUANTITY
Definition:
MultiBuyLineItemsTarget.php:18
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\getPredicate
getPredicate()
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\setPredicate
setPredicate(?string $predicate)
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\setSelectionMode
setSelectionMode(?string $selectionMode)
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\setDiscountedQuantity
setDiscountedQuantity(?int $discountedQuantity)
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\FIELD_MAX_OCCURRENCE
const FIELD_MAX_OCCURRENCE
Definition:
MultiBuyLineItemsTarget.php:19
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\getDiscountedQuantity
getDiscountedQuantity()
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\setMaxOccurrence
setMaxOccurrence(?int $maxOccurrence)
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\setTriggerQuantity
setTriggerQuantity(?int $triggerQuantity)
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\getTriggerQuantity
getTriggerQuantity()
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\FIELD_PREDICATE
const FIELD_PREDICATE
Definition:
MultiBuyLineItemsTarget.php:16
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\getMaxOccurrence
getMaxOccurrence()
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\FIELD_TRIGGER_QUANTITY
const FIELD_TRIGGER_QUANTITY
Definition:
MultiBuyLineItemsTarget.php:17
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\FIELD_SELECTION_MODE
const FIELD_SELECTION_MODE
Definition:
MultiBuyLineItemsTarget.php:20
Commercetools\Api\Models\CartDiscount\MultiBuyLineItemsTarget\getSelectionMode
getSelectionMode()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CartDiscount
Definition:
CartDiscount.php:9
Generated by
1.9.1