commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
MultiBuyLineItemsTarget.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
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 }