# [YooKassa API SDK](../home.md) # Class: \YooKassa\Request\Refunds\RefundsResponse ### Namespace: [\YooKassa\Request\Refunds](../namespaces/yookassa-request-refunds.md) --- **Summary:** Класс объекта ответа от API со списком возвратов магазина --- ### Constants * No constants found --- ### Methods | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [__construct()](../classes/YooKassa-Request-Refunds-RefundsResponse.md#method___construct) | | Конструктор, устанавливает свойства объекта из пришедшего из API ассоциативного массива | | public | [getItems()](../classes/YooKassa-Request-Refunds-RefundsResponse.md#method_getItems) | | Возвращает список возвратов | | public | [getNextCursor()](../classes/YooKassa-Request-Refunds-RefundsResponse.md#method_getNextCursor) | | Возвращает токен следующей страницы, если он задан, или null | | public | [hasNextCursor()](../classes/YooKassa-Request-Refunds-RefundsResponse.md#method_hasNextCursor) | | Проверяет имееотся ли в ответе токен следующей страницы | --- ### Details * File: [lib/Request/Refunds/RefundsResponse.php](../../lib/Request/Refunds/RefundsResponse.php) * Package: YooKassa * Class Hierarchy: * \YooKassa\Request\Refunds\RefundsResponse --- ## Methods #### public __construct() : mixed ```php public __construct(array $options) : mixed ``` **Summary** Конструктор, устанавливает свойства объекта из пришедшего из API ассоциативного массива **Details:** * Inherited From: [\YooKassa\Request\Refunds\RefundsResponse](../classes/YooKassa-Request-Refunds-RefundsResponse.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | array | options | Массив настроек, пришедший от API | ##### Throws: | Type | Description | | ---- | ----------- | | \Exception | | **Returns:** mixed - #### public getItems() : \YooKassa\Model\RefundInterface[] ```php public getItems() : \YooKassa\Model\RefundInterface[] ``` **Summary** Возвращает список возвратов **Details:** * Inherited From: [\YooKassa\Request\Refunds\RefundsResponse](../classes/YooKassa-Request-Refunds-RefundsResponse.md) **Returns:** \YooKassa\Model\RefundInterface[] - Список возвратов #### public getNextCursor() : string|null ```php public getNextCursor() : string|null ``` **Summary** Возвращает токен следующей страницы, если он задан, или null **Details:** * Inherited From: [\YooKassa\Request\Refunds\RefundsResponse](../classes/YooKassa-Request-Refunds-RefundsResponse.md) **Returns:** string|null - Токен следующей страницы #### public hasNextCursor() : bool ```php public hasNextCursor() : bool ``` **Summary** Проверяет имееотся ли в ответе токен следующей страницы **Details:** * Inherited From: [\YooKassa\Request\Refunds\RefundsResponse](../classes/YooKassa-Request-Refunds-RefundsResponse.md) **Returns:** bool - True если токен следующей страницы есть, false если нет --- ### Top Namespaces * [\YooKassa](../namespaces/yookassa.md) --- ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 1](../reports/markers.md) * [Deprecated - 25](../reports/deprecated.md) --- This document was automatically generated from source code comments on 2023-04-06 using [phpDocumentor](http://www.phpdoc.org/) © 2023 YooMoney