commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ProductPagedSearchResponse.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
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 }
setResults(?ProductSearchResultCollection $results)
setFacets(?ProductSearchFacetResultCollection $facets)