3.9 KiB
3.9 KiB
YooKassa API SDK
Class: \YooKassa\Request\Refunds\RefundsResponse
Namespace: \YooKassa\Request\Refunds
Summary:
Класс объекта ответа от API со списком возвратов магазина
Constants
- No constants found
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | __construct() | Конструктор, устанавливает свойства объекта из пришедшего из API ассоциативного массива | |
| public | getItems() | Возвращает список возвратов | |
| public | getNextCursor() | Возвращает токен следующей страницы, если он задан, или null | |
| public | hasNextCursor() | Проверяет имееотся ли в ответе токен следующей страницы |
Details
- File: lib/Request/Refunds/RefundsResponse.php
- Package: YooKassa
- Class Hierarchy:
- \YooKassa\Request\Refunds\RefundsResponse
Methods
public __construct() : mixed
public __construct(array $options) : mixed
Summary
Конструктор, устанавливает свойства объекта из пришедшего из API ассоциативного массива
Details:
- Inherited From: \YooKassa\Request\Refunds\RefundsResponse
Parameters:
| Type | Name | Description |
|---|---|---|
array |
options | Массив настроек, пришедший от API |
Throws:
| Type | Description |
|---|---|
| \Exception |
Returns: mixed -
public getItems() : \YooKassa\Model\RefundInterface[]
public getItems() : \YooKassa\Model\RefundInterface[]
Summary
Возвращает список возвратов
Details:
- Inherited From: \YooKassa\Request\Refunds\RefundsResponse
Returns: \YooKassa\Model\RefundInterface[] - Список возвратов
public getNextCursor() : string|null
public getNextCursor() : string|null
Summary
Возвращает токен следующей страницы, если он задан, или null
Details:
- Inherited From: \YooKassa\Request\Refunds\RefundsResponse
Returns: string|null - Токен следующей страницы
public hasNextCursor() : bool
public hasNextCursor() : bool
Summary
Проверяет имееотся ли в ответе токен следующей страницы
Details:
- Inherited From: \YooKassa\Request\Refunds\RefundsResponse
Returns: bool - True если токен следующей страницы есть, false если нет
Top Namespaces
Reports
This document was automatically generated from source code comments on 2023-04-06 using phpDocumentor
© 2023 YooMoney