commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
FacetRange.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
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\FacetRange
Definition:
FacetRange.php:15
Commercetools\Api\Models\Product\FacetRange\setTo
setTo(?float $to)
Commercetools\Api\Models\Product\FacetRange\getMean
getMean()
Commercetools\Api\Models\Product\FacetRange\FIELD_TOTAL
const FIELD_TOTAL
Definition:
FacetRange.php:22
Commercetools\Api\Models\Product\FacetRange\getTo
getTo()
Commercetools\Api\Models\Product\FacetRange\getMin
getMin()
Commercetools\Api\Models\Product\FacetRange\FIELD_FROM
const FIELD_FROM
Definition:
FacetRange.php:16
Commercetools\Api\Models\Product\FacetRange\getCount
getCount()
Commercetools\Api\Models\Product\FacetRange\FIELD_TO_STR
const FIELD_TO_STR
Definition:
FacetRange.php:19
Commercetools\Api\Models\Product\FacetRange\FIELD_MAX
const FIELD_MAX
Definition:
FacetRange.php:24
Commercetools\Api\Models\Product\FacetRange\FIELD_COUNT
const FIELD_COUNT
Definition:
FacetRange.php:20
Commercetools\Api\Models\Product\FacetRange\getTotal
getTotal()
Commercetools\Api\Models\Product\FacetRange\getFrom
getFrom()
Commercetools\Api\Models\Product\FacetRange\getMax
getMax()
Commercetools\Api\Models\Product\FacetRange\setFrom
setFrom(?float $from)
Commercetools\Api\Models\Product\FacetRange\setTotal
setTotal(?float $total)
Commercetools\Api\Models\Product\FacetRange\setProductCount
setProductCount(?int $productCount)
Commercetools\Api\Models\Product\FacetRange\getToStr
getToStr()
Commercetools\Api\Models\Product\FacetRange\FIELD_MEAN
const FIELD_MEAN
Definition:
FacetRange.php:25
Commercetools\Api\Models\Product\FacetRange\setMax
setMax(?float $max)
Commercetools\Api\Models\Product\FacetRange\FIELD_PRODUCT_COUNT
const FIELD_PRODUCT_COUNT
Definition:
FacetRange.php:21
Commercetools\Api\Models\Product\FacetRange\setMin
setMin(?float $min)
Commercetools\Api\Models\Product\FacetRange\setToStr
setToStr(?string $toStr)
Commercetools\Api\Models\Product\FacetRange\setFromStr
setFromStr(?string $fromStr)
Commercetools\Api\Models\Product\FacetRange\FIELD_FROM_STR
const FIELD_FROM_STR
Definition:
FacetRange.php:17
Commercetools\Api\Models\Product\FacetRange\FIELD_TO
const FIELD_TO
Definition:
FacetRange.php:18
Commercetools\Api\Models\Product\FacetRange\getProductCount
getProductCount()
Commercetools\Api\Models\Product\FacetRange\setCount
setCount(?int $count)
Commercetools\Api\Models\Product\FacetRange\getFromStr
getFromStr()
Commercetools\Api\Models\Product\FacetRange\FIELD_MIN
const FIELD_MIN
Definition:
FacetRange.php:23
Commercetools\Api\Models\Product\FacetRange\setMean
setMean(?float $mean)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Product
Definition:
AttributeAccessor.php:4
Generated by
1.9.1