commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
All Classes Namespaces Functions Variables Pages
TermFacetResult.php
1<?php
2
3declare(strict_types=1);
10
13
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
28 public function getDataType();
29
36 public function getMissing();
37
48 public function getTotal();
49
56 public function getOther();
57
66 public function getTerms();
67
71 public function setDataType(?string $dataType): void;
72
76 public function setMissing(?int $missing): void;
77
81 public function setTotal(?int $total): void;
82
86 public function setOther(?int $other): void;
87
91 public function setTerms(?FacetTermCollection $terms): void;
92}