commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OrderSearchRequest.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface OrderSearchRequest extends JsonObject
15 {
16  public const FIELD_QUERY = 'query';
17  public const FIELD_SORT = 'sort';
18  public const FIELD_LIMIT = 'limit';
19  public const FIELD_OFFSET = 'offset';
20 
27  public function getQuery();
28 
35  public function getSort();
36 
43  public function getLimit();
44 
51  public function getOffset();
52 
56  public function setQuery(?OrderSearchQuery $query): void;
57 
61  public function setSort(?OrderSearchSortingCollection $sort): void;
62 
66  public function setLimit(?int $limit): void;
67 
71  public function setOffset(?int $offset): void;
72 }
setSort(?OrderSearchSortingCollection $sort)