commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Search
SearchSorting.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Search
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Search\SearchQueryExpression
Definition:
SearchQueryExpression.php:15
Commercetools\Api\Models\Search\SearchSorting
Definition:
SearchSorting.php:15
Commercetools\Api\Models\Search\SearchSorting\FIELD_LANGUAGE
const FIELD_LANGUAGE
Definition:
SearchSorting.php:17
Commercetools\Api\Models\Search\SearchSorting\getMode
getMode()
Commercetools\Api\Models\Search\SearchSorting\FIELD_FIELD
const FIELD_FIELD
Definition:
SearchSorting.php:16
Commercetools\Api\Models\Search\SearchSorting\setField
setField(?string $field)
Commercetools\Api\Models\Search\SearchSorting\getField
getField()
Commercetools\Api\Models\Search\SearchSorting\getLanguage
getLanguage()
Commercetools\Api\Models\Search\SearchSorting\FIELD_ORDER
const FIELD_ORDER
Definition:
SearchSorting.php:18
Commercetools\Api\Models\Search\SearchSorting\getOrder
getOrder()
Commercetools\Api\Models\Search\SearchSorting\FIELD_FIELD_TYPE
const FIELD_FIELD_TYPE
Definition:
SearchSorting.php:20
Commercetools\Api\Models\Search\SearchSorting\setFieldType
setFieldType(?string $fieldType)
Commercetools\Api\Models\Search\SearchSorting\FIELD_MODE
const FIELD_MODE
Definition:
SearchSorting.php:19
Commercetools\Api\Models\Search\SearchSorting\FIELD_FILTER
const FIELD_FILTER
Definition:
SearchSorting.php:21
Commercetools\Api\Models\Search\SearchSorting\setLanguage
setLanguage(?string $language)
Commercetools\Api\Models\Search\SearchSorting\getFieldType
getFieldType()
Commercetools\Api\Models\Search\SearchSorting\setFilter
setFilter(?SearchQueryExpression $filter)
Commercetools\Api\Models\Search\SearchSorting\setOrder
setOrder(?string $order)
Commercetools\Api\Models\Search\SearchSorting\setMode
setMode(?string $mode)
Commercetools\Api\Models\Search\SearchSorting\getFilter
getFilter()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Search
Definition:
SearchAndExpression.php:9
Generated by
1.9.1