commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CartDiscountPatternTarget.php
1<?php
2
3declare(strict_types=1);
10
13
15{
16 public const FIELD_TRIGGER_PATTERN = 'triggerPattern';
17 public const FIELD_TARGET_PATTERN = 'targetPattern';
18 public const FIELD_MAX_OCCURRENCE = 'maxOccurrence';
19 public const FIELD_SELECTION_MODE = 'selectionMode';
20
30 public function getTriggerPattern();
31
39 public function getTargetPattern();
40
48 public function getMaxOccurrence();
49
56 public function getSelectionMode();
57
61 public function setTriggerPattern(?PatternComponentCollection $triggerPattern): void;
62
66 public function setTargetPattern(?PatternComponentCollection $targetPattern): void;
67
71 public function setMaxOccurrence(?int $maxOccurrence): void;
72
76 public function setSelectionMode(?string $selectionMode): void;
77}
setTriggerPattern(?PatternComponentCollection $triggerPattern)
setTargetPattern(?PatternComponentCollection $targetPattern)