commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
FacetRange.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface FacetRange extends JsonObject
15 {
16  public const FIELD_FROM = 'from';
17  public const FIELD_FROM_STR = 'fromStr';
18  public const FIELD_TO = 'to';
19  public const FIELD_TO_STR = 'toStr';
20  public const FIELD_COUNT = 'count';
21  public const FIELD_PRODUCT_COUNT = 'productCount';
22  public const FIELD_TOTAL = 'total';
23  public const FIELD_MIN = 'min';
24  public const FIELD_MAX = 'max';
25  public const FIELD_MEAN = 'mean';
26 
31  public function getFrom();
32 
37  public function getFromStr();
38 
43  public function getTo();
44 
49  public function getToStr();
50 
55  public function getCount();
56 
61  public function getProductCount();
62 
67  public function getTotal();
68 
73  public function getMin();
74 
79  public function getMax();
80 
85  public function getMean();
86 
90  public function setFrom(?float $from): void;
91 
95  public function setFromStr(?string $fromStr): void;
96 
100  public function setTo(?float $to): void;
101 
105  public function setToStr(?string $toStr): void;
106 
110  public function setCount(?int $count): void;
111 
115  public function setProductCount(?int $productCount): void;
116 
120  public function setTotal(?float $total): void;
121 
125  public function setMin(?float $min): void;
126 
130  public function setMax(?float $max): void;
131 
135  public function setMean(?float $mean): void;
136 }