commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
SearchSorting.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface SearchSorting extends JsonObject
15 {
16  public const FIELD_FIELD = 'field';
17  public const FIELD_LANGUAGE = 'language';
18  public const FIELD_ORDER = 'order';
19  public const FIELD_MODE = 'mode';
20  public const FIELD_FIELD_TYPE = 'fieldType';
21  public const FIELD_FILTER = 'filter';
22 
29  public function getField();
30 
37  public function getLanguage();
38 
46  public function getOrder();
47 
54  public function getMode();
55 
62  public function getFieldType();
63 
70  public function getFilter();
71 
75  public function setField(?string $field): void;
76 
80  public function setLanguage(?string $language): void;
81 
85  public function setOrder(?string $order): void;
86 
90  public function setMode(?string $mode): void;
91 
95  public function setFieldType(?string $fieldType): void;
96 
100  public function setFilter(?SearchQueryExpression $filter): void;
101 }
setFilter(?SearchQueryExpression $filter)