commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Common
PagedQueryResponse.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Common
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Api\Models\Common\BaseResourceCollection
Definition:
BaseResourceCollection.php:26
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\PagedQueryResponse
Definition:
PagedQueryResponse.php:15
Commercetools\Api\Models\Common\PagedQueryResponse\FIELD_TOTAL
const FIELD_TOTAL
Definition:
PagedQueryResponse.php:19
Commercetools\Api\Models\Common\PagedQueryResponse\setResults
setResults(?BaseResourceCollection $results)
Commercetools\Api\Models\Common\PagedQueryResponse\getLimit
getLimit()
Commercetools\Api\Models\Common\PagedQueryResponse\FIELD_META
const FIELD_META
Definition:
PagedQueryResponse.php:21
Commercetools\Api\Models\Common\PagedQueryResponse\setOffset
setOffset(?int $offset)
Commercetools\Api\Models\Common\PagedQueryResponse\getTotal
getTotal()
Commercetools\Api\Models\Common\PagedQueryResponse\setMeta
setMeta(?JsonObject $meta)
Commercetools\Api\Models\Common\PagedQueryResponse\FIELD_COUNT
const FIELD_COUNT
Definition:
PagedQueryResponse.php:18
Commercetools\Api\Models\Common\PagedQueryResponse\getOffset
getOffset()
Commercetools\Api\Models\Common\PagedQueryResponse\getMeta
getMeta()
Commercetools\Api\Models\Common\PagedQueryResponse\setTotal
setTotal(?int $total)
Commercetools\Api\Models\Common\PagedQueryResponse\getResults
getResults()
Commercetools\Api\Models\Common\PagedQueryResponse\FIELD_LIMIT
const FIELD_LIMIT
Definition:
PagedQueryResponse.php:16
Commercetools\Api\Models\Common\PagedQueryResponse\FIELD_OFFSET
const FIELD_OFFSET
Definition:
PagedQueryResponse.php:17
Commercetools\Api\Models\Common\PagedQueryResponse\setCount
setCount(?int $count)
Commercetools\Api\Models\Common\PagedQueryResponse\FIELD_RESULTS
const FIELD_RESULTS
Definition:
PagedQueryResponse.php:20
Commercetools\Api\Models\Common\PagedQueryResponse\getCount
getCount()
Commercetools\Api\Models\Common\PagedQueryResponse\setLimit
setLimit(?int $limit)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Common
Definition:
Address.php:9
Generated by
1.9.1