commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
TermFacetResult.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface TermFacetResult extends FacetResult
15 {
16  public const FIELD_DATA_TYPE = 'dataType';
17  public const FIELD_MISSING = 'missing';
18  public const FIELD_TOTAL = 'total';
19  public const FIELD_OTHER = 'other';
20  public const FIELD_TERMS = 'terms';
21 
26  public function getDataType();
27 
32  public function getMissing();
33 
38  public function getTotal();
39 
44  public function getOther();
45 
50  public function getTerms();
51 
55  public function setDataType(?string $dataType): void;
56 
60  public function setMissing(?int $missing): void;
61 
65  public function setTotal(?int $total): void;
66 
70  public function setOther(?int $other): void;
71 
75  public function setTerms(?FacetTermCollection $terms): void;
76 }