commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CustomerSearch
CustomerSearchRequest.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CustomerSearch
;
10
11
use
Commercetools\Api\Models\Search\SearchQuery
;
12
use
Commercetools\Api\Models\Search\SearchSortingCollection
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
CustomerSearchRequest
extends
JsonObject
17
{
18
public
const
FIELD_QUERY
=
'query'
;
19
public
const
FIELD_SORT
=
'sort'
;
20
public
const
FIELD_LIMIT
=
'limit'
;
21
public
const
FIELD_OFFSET
=
'offset'
;
22
29
public
function
getQuery
();
30
37
public
function
getSort
();
38
45
public
function
getLimit
();
46
53
public
function
getOffset
();
54
58
public
function
setQuery
(?
SearchQuery
$query): void;
59
63
public
function
setSort
(?
SearchSortingCollection
$sort): void;
64
68
public
function
setLimit
(?
int
$limit): void;
69
73
public
function
setOffset
(?
int
$offset): void;
74
}
Commercetools\Api\Models\Search\SearchSortingCollection
Definition:
SearchSortingCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest
Definition:
CustomerSearchRequest.php:17
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\FIELD_LIMIT
const FIELD_LIMIT
Definition:
CustomerSearchRequest.php:20
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\getLimit
getLimit()
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\setSort
setSort(?SearchSortingCollection $sort)
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\getQuery
getQuery()
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\setOffset
setOffset(?int $offset)
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\getSort
getSort()
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\FIELD_SORT
const FIELD_SORT
Definition:
CustomerSearchRequest.php:19
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\setLimit
setLimit(?int $limit)
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\FIELD_OFFSET
const FIELD_OFFSET
Definition:
CustomerSearchRequest.php:21
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\FIELD_QUERY
const FIELD_QUERY
Definition:
CustomerSearchRequest.php:18
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\getOffset
getOffset()
Commercetools\Api\Models\CustomerSearch\CustomerSearchRequest\setQuery
setQuery(?SearchQuery $query)
Commercetools\Api\Models\Search\SearchQuery
Definition:
SearchQuery.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CustomerSearch
Definition:
CustomerIndexingProgress.php:9
Generated by
1.9.1