commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Variables
$
a
d
e
f
g
o
r
s
t
u
•
All
Classes
Namespaces
Functions
Variables
Pages
Loading...
Searching...
No Matches
lib
commercetools-api
src
Models
Product
FacetRangeBuilder.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Product
;
10
11
use
Commercetools\Base\Builder
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
use
Commercetools\Base\JsonObjectModel
;
15
use
Commercetools\Base\MapperFactory
;
16
use stdClass;
17
21
final
class
FacetRangeBuilder
implements
Builder
22
{
27
private
$from;
28
33
private
$fromStr;
34
39
private
$to;
40
45
private
$toStr;
46
51
private
$count;
52
57
private
$productCount;
58
63
private
$total;
64
69
private
$min;
70
75
private
$max;
76
81
private
$mean;
82
90
public
function
getFrom
()
91
{
92
return
$this->from;
93
}
90
public
function
getFrom
() {
…
}
94
102
public
function
getFromStr
()
103
{
104
return
$this->fromStr;
105
}
102
public
function
getFromStr
() {
…
}
106
114
public
function
getTo
()
115
{
116
return
$this->to;
117
}
114
public
function
getTo
() {
…
}
118
126
public
function
getToStr
()
127
{
128
return
$this->toStr;
129
}
126
public
function
getToStr
() {
…
}
130
137
public
function
getCount
()
138
{
139
return
$this->count;
140
}
137
public
function
getCount
() {
…
}
141
149
public
function
getProductCount
()
150
{
151
return
$this->productCount;
152
}
149
public
function
getProductCount
() {
…
}
153
160
public
function
getTotal
()
161
{
162
return
$this->total;
163
}
160
public
function
getTotal
() {
…
}
164
171
public
function
getMin
()
172
{
173
return
$this->min;
174
}
171
public
function
getMin
() {
…
}
175
182
public
function
getMax
()
183
{
184
return
$this->max;
185
}
182
public
function
getMax
() {
…
}
186
193
public
function
getMean
()
194
{
195
return
$this->mean;
196
}
193
public
function
getMean
() {
…
}
197
202
public
function
withFrom
(?
float
$from)
203
{
204
$this->from = $from;
205
206
return
$this;
207
}
202
public
function
withFrom
(?
float
$from) {
…
}
208
213
public
function
withFromStr
(?
string
$fromStr)
214
{
215
$this->fromStr = $fromStr;
216
217
return
$this;
218
}
213
public
function
withFromStr
(?
string
$fromStr) {
…
}
219
224
public
function
withTo
(?
float
$to)
225
{
226
$this->to = $to;
227
228
return
$this;
229
}
224
public
function
withTo
(?
float
$to) {
…
}
230
235
public
function
withToStr
(?
string
$toStr)
236
{
237
$this->toStr = $toStr;
238
239
return
$this;
240
}
235
public
function
withToStr
(?
string
$toStr) {
…
}
241
246
public
function
withCount
(?
int
$count)
247
{
248
$this->count = $count;
249
250
return
$this;
251
}
246
public
function
withCount
(?
int
$count) {
…
}
252
257
public
function
withProductCount
(?
int
$productCount)
258
{
259
$this->productCount = $productCount;
260
261
return
$this;
262
}
257
public
function
withProductCount
(?
int
$productCount) {
…
}
263
268
public
function
withTotal
(?
float
$total)
269
{
270
$this->total = $total;
271
272
return
$this;
273
}
268
public
function
withTotal
(?
float
$total) {
…
}
274
279
public
function
withMin
(?
float
$min)
280
{
281
$this->min = $min;
282
283
return
$this;
284
}
279
public
function
withMin
(?
float
$min) {
…
}
285
290
public
function
withMax
(?
float
$max)
291
{
292
$this->max = $max;
293
294
return
$this;
295
}
290
public
function
withMax
(?
float
$max) {
…
}
296
301
public
function
withMean
(?
float
$mean)
302
{
303
$this->mean = $mean;
304
305
return
$this;
306
}
301
public
function
withMean
(?
float
$mean) {
…
}
307
308
309
public
function
build
():
FacetRange
310
{
311
return
new
FacetRangeModel
(
312
$this->from,
313
$this->fromStr,
314
$this->to,
315
$this->toStr,
316
$this->count,
317
$this->productCount,
318
$this->total,
319
$this->min,
320
$this->max,
321
$this->mean
322
);
323
}
309
public
function
build
():
FacetRange
{
…
}
324
325
public
static
function
of
():
FacetRangeBuilder
326
{
327
return
new
self
();
328
}
325
public
static
function
of
():
FacetRangeBuilder
{
…
}
329
}
21
final
class
FacetRangeBuilder
implements
Builder
{
…
};
Commercetools\Api\Models\Product\FacetRangeBuilder
Definition
FacetRangeBuilder.php:22
Commercetools\Api\Models\Product\FacetRangeBuilder\getProductCount
getProductCount()
Definition
FacetRangeBuilder.php:149
Commercetools\Api\Models\Product\FacetRangeBuilder\withMean
withMean(?float $mean)
Definition
FacetRangeBuilder.php:301
Commercetools\Api\Models\Product\FacetRangeBuilder\withToStr
withToStr(?string $toStr)
Definition
FacetRangeBuilder.php:235
Commercetools\Api\Models\Product\FacetRangeBuilder\withCount
withCount(?int $count)
Definition
FacetRangeBuilder.php:246
Commercetools\Api\Models\Product\FacetRangeBuilder\getTo
getTo()
Definition
FacetRangeBuilder.php:114
Commercetools\Api\Models\Product\FacetRangeBuilder\build
build()
Definition
FacetRangeBuilder.php:309
Commercetools\Api\Models\Product\FacetRangeBuilder\withMax
withMax(?float $max)
Definition
FacetRangeBuilder.php:290
Commercetools\Api\Models\Product\FacetRangeBuilder\withTotal
withTotal(?float $total)
Definition
FacetRangeBuilder.php:268
Commercetools\Api\Models\Product\FacetRangeBuilder\getMin
getMin()
Definition
FacetRangeBuilder.php:171
Commercetools\Api\Models\Product\FacetRangeBuilder\getFrom
getFrom()
Definition
FacetRangeBuilder.php:90
Commercetools\Api\Models\Product\FacetRangeBuilder\getFromStr
getFromStr()
Definition
FacetRangeBuilder.php:102
Commercetools\Api\Models\Product\FacetRangeBuilder\getCount
getCount()
Definition
FacetRangeBuilder.php:137
Commercetools\Api\Models\Product\FacetRangeBuilder\getToStr
getToStr()
Definition
FacetRangeBuilder.php:126
Commercetools\Api\Models\Product\FacetRangeBuilder\withFromStr
withFromStr(?string $fromStr)
Definition
FacetRangeBuilder.php:213
Commercetools\Api\Models\Product\FacetRangeBuilder\getTotal
getTotal()
Definition
FacetRangeBuilder.php:160
Commercetools\Api\Models\Product\FacetRangeBuilder\getMax
getMax()
Definition
FacetRangeBuilder.php:182
Commercetools\Api\Models\Product\FacetRangeBuilder\withMin
withMin(?float $min)
Definition
FacetRangeBuilder.php:279
Commercetools\Api\Models\Product\FacetRangeBuilder\withProductCount
withProductCount(?int $productCount)
Definition
FacetRangeBuilder.php:257
Commercetools\Api\Models\Product\FacetRangeBuilder\getMean
getMean()
Definition
FacetRangeBuilder.php:193
Commercetools\Api\Models\Product\FacetRangeBuilder\withTo
withTo(?float $to)
Definition
FacetRangeBuilder.php:224
Commercetools\Api\Models\Product\FacetRangeBuilder\of
static of()
Definition
FacetRangeBuilder.php:325
Commercetools\Api\Models\Product\FacetRangeBuilder\withFrom
withFrom(?float $from)
Definition
FacetRangeBuilder.php:202
Commercetools\Api\Models\Product\FacetRangeModel
Definition
FacetRangeModel.php:21
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObjectModel
Definition
JsonObjectModel.php:15
Commercetools\Base\MapperFactory
Definition
MapperFactory.php:16
Commercetools\Api\Models\Product\FacetRange
Definition
FacetRange.php:15
Commercetools\Base\Builder
Definition
Builder.php:16
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Api\Models\Product
Definition
AttributeAccessor.php:4
Generated by
1.9.8