commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductSearch
ProductPagedSearchResponse.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductSearch
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
ProductPagedSearchResponse
extends
JsonObject
15
{
16
public
const
FIELD_TOTAL
=
'total'
;
17
public
const
FIELD_OFFSET
=
'offset'
;
18
public
const
FIELD_LIMIT
=
'limit'
;
19
public
const
FIELD_FACETS
=
'facets'
;
20
public
const
FIELD_RESULTS
=
'results'
;
21
28
public
function
getTotal
();
29
36
public
function
getOffset
();
37
44
public
function
getLimit
();
45
52
public
function
getFacets
();
53
60
public
function
getResults
();
61
65
public
function
setTotal
(?
int
$total): void;
66
70
public
function
setOffset
(?
int
$offset): void;
71
75
public
function
setLimit
(?
int
$limit): void;
76
80
public
function
setFacets
(?
ProductSearchFacetResultCollection
$facets): void;
81
85
public
function
setResults
(?
ProductSearchResultCollection
$results): void;
86
}
Commercetools\Api\Models\ProductSearch\ProductSearchFacetResultCollection
Definition:
ProductSearchFacetResultCollection.php:26
Commercetools\Api\Models\ProductSearch\ProductSearchResultCollection
Definition:
ProductSearchResultCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse
Definition:
ProductPagedSearchResponse.php:15
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\FIELD_RESULTS
const FIELD_RESULTS
Definition:
ProductPagedSearchResponse.php:20
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\setLimit
setLimit(?int $limit)
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\setOffset
setOffset(?int $offset)
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\setResults
setResults(?ProductSearchResultCollection $results)
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\getFacets
getFacets()
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\getOffset
getOffset()
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\getLimit
getLimit()
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\setFacets
setFacets(?ProductSearchFacetResultCollection $facets)
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\getTotal
getTotal()
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\FIELD_LIMIT
const FIELD_LIMIT
Definition:
ProductPagedSearchResponse.php:18
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\FIELD_OFFSET
const FIELD_OFFSET
Definition:
ProductPagedSearchResponse.php:17
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\getResults
getResults()
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\FIELD_TOTAL
const FIELD_TOTAL
Definition:
ProductPagedSearchResponse.php:16
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\FIELD_FACETS
const FIELD_FACETS
Definition:
ProductPagedSearchResponse.php:19
Commercetools\Api\Models\ProductSearch\ProductPagedSearchResponse\setTotal
setTotal(?int $total)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductSearch
Definition:
ProductPagedSearchResponse.php:9
Generated by
1.9.1