commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
TermFacetResult.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Product
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Api\Models\Product\FacetTermCollection
Definition:
FacetTermCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\FacetResult
Definition:
FacetResult.php:15
Commercetools\Api\Models\Product\TermFacetResult
Definition:
TermFacetResult.php:15
Commercetools\Api\Models\Product\TermFacetResult\setTotal
setTotal(?int $total)
Commercetools\Api\Models\Product\TermFacetResult\getTerms
getTerms()
Commercetools\Api\Models\Product\TermFacetResult\setOther
setOther(?int $other)
Commercetools\Api\Models\Product\TermFacetResult\FIELD_OTHER
const FIELD_OTHER
Definition:
TermFacetResult.php:19
Commercetools\Api\Models\Product\TermFacetResult\FIELD_DATA_TYPE
const FIELD_DATA_TYPE
Definition:
TermFacetResult.php:16
Commercetools\Api\Models\Product\TermFacetResult\getDataType
getDataType()
Commercetools\Api\Models\Product\TermFacetResult\getTotal
getTotal()
Commercetools\Api\Models\Product\TermFacetResult\FIELD_TERMS
const FIELD_TERMS
Definition:
TermFacetResult.php:20
Commercetools\Api\Models\Product\TermFacetResult\setMissing
setMissing(?int $missing)
Commercetools\Api\Models\Product\TermFacetResult\setTerms
setTerms(?FacetTermCollection $terms)
Commercetools\Api\Models\Product\TermFacetResult\setDataType
setDataType(?string $dataType)
Commercetools\Api\Models\Product\TermFacetResult\FIELD_TOTAL
const FIELD_TOTAL
Definition:
TermFacetResult.php:18
Commercetools\Api\Models\Product\TermFacetResult\getOther
getOther()
Commercetools\Api\Models\Product\TermFacetResult\getMissing
getMissing()
Commercetools\Api\Models\Product\TermFacetResult\FIELD_MISSING
const FIELD_MISSING
Definition:
TermFacetResult.php:17
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Product
Definition:
AttributeAccessor.php:4
Generated by
1.9.1