commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
PagedQueryResponse.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface PagedQueryResponse extends JsonObject
15 {
16  public const FIELD_LIMIT = 'limit';
17  public const FIELD_OFFSET = 'offset';
18  public const FIELD_COUNT = 'count';
19  public const FIELD_TOTAL = 'total';
20  public const FIELD_RESULTS = 'results';
21  public const FIELD_META = 'meta';
22 
29  public function getLimit();
30 
37  public function getOffset();
38 
45  public function getCount();
46 
57  public function getTotal();
58 
63  public function getResults();
64 
69  public function getMeta();
70 
74  public function setLimit(?int $limit): void;
75 
79  public function setOffset(?int $offset): void;
80 
84  public function setCount(?int $count): void;
85 
89  public function setTotal(?int $total): void;
90 
94  public function setResults(?BaseResourceCollection $results): void;
95 
99  public function setMeta(?JsonObject $meta): void;
100 }
setResults(?BaseResourceCollection $results)