commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CartScoreTier.php
1<?php
2
3declare(strict_types=1);
10
14
16{
17 public const FIELD_SCORE = 'score';
18 public const FIELD_PRICE = 'price';
19 public const FIELD_PRICE_FUNCTION = 'priceFunction';
20 public const FIELD_IS_MATCHING = 'isMatching';
21
28 public function getScore();
29
36 public function getPrice();
37
44 public function getPriceFunction();
45
52 public function getIsMatching();
53
57 public function setScore(?int $score): void;
58
62 public function setPrice(?Money $price): void;
63
67 public function setPriceFunction(?PriceFunction $priceFunction): void;
68
72 public function setIsMatching(?bool $isMatching): void;
73}
setPriceFunction(?PriceFunction $priceFunction)