commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CartDiscount
MultiBuyCustomLineItemsTarget.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
MultiBuyCustomLineItemsTarget
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\MultiBuyCustomLineItemsTarget
Definition:
MultiBuyCustomLineItemsTarget.php:15
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\FIELD_DISCOUNTED_QUANTITY
const FIELD_DISCOUNTED_QUANTITY
Definition:
MultiBuyCustomLineItemsTarget.php:18
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\FIELD_TRIGGER_QUANTITY
const FIELD_TRIGGER_QUANTITY
Definition:
MultiBuyCustomLineItemsTarget.php:17
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\setPredicate
setPredicate(?string $predicate)
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\setMaxOccurrence
setMaxOccurrence(?int $maxOccurrence)
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\setTriggerQuantity
setTriggerQuantity(?int $triggerQuantity)
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\FIELD_PREDICATE
const FIELD_PREDICATE
Definition:
MultiBuyCustomLineItemsTarget.php:16
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\setDiscountedQuantity
setDiscountedQuantity(?int $discountedQuantity)
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\getPredicate
getPredicate()
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\getDiscountedQuantity
getDiscountedQuantity()
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\FIELD_SELECTION_MODE
const FIELD_SELECTION_MODE
Definition:
MultiBuyCustomLineItemsTarget.php:20
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\getSelectionMode
getSelectionMode()
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\getTriggerQuantity
getTriggerQuantity()
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\getMaxOccurrence
getMaxOccurrence()
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\setSelectionMode
setSelectionMode(?string $selectionMode)
Commercetools\Api\Models\CartDiscount\MultiBuyCustomLineItemsTarget\FIELD_MAX_OCCURRENCE
const FIELD_MAX_OCCURRENCE
Definition:
MultiBuyCustomLineItemsTarget.php:19
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CartDiscount
Definition:
CartDiscount.php:9
Generated by
1.9.1