# [YooKassa API SDK](../home.md) # Interface: PaymentsRequestInterface ### Namespace: [\YooKassa\Request\Payments](../namespaces/yookassa-request-payments.md) --- **Summary:** Interface PaymentsRequestInterface --- ### Constants * No constants found --- ### Methods | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [getCapturedAtGt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCapturedAtGt) | | Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена | | public | [getCapturedAtGte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCapturedAtGte) | | Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена | | public | [getCapturedAtLt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCapturedAtLt) | | Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена | | public | [getCapturedAtLte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCapturedAtLte) | | Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена | | public | [getCreatedAtGt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCreatedAtGt) | | Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена | | public | [getCreatedAtGte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCreatedAtGte) | | Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена | | public | [getCreatedAtLt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCreatedAtLt) | | Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена | | public | [getCreatedAtLte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCreatedAtLte) | | Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена | | public | [getCursor()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getCursor) | | Возвращает страницу выдачи результатов или null, если она до этого не была установлена | | public | [getLimit()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getLimit) | | Возвращает ограничение количества объектов платежа или null, если оно до этого не было установлено | | public | [getPaymentMethod()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getPaymentMethod) | | Возвращает код способа оплаты выбираемых платежей или null, если он до этого не был установлен | | public | [getStatus()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_getStatus) | | Возвращает статус выбираемых платежей или null, если он до этого не был установлен | | public | [hasCapturedAtGt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCapturedAtGt) | | Проверяет, была ли установлена дата создания от которой выбираются платежи | | public | [hasCapturedAtGte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCapturedAtGte) | | Проверяет, была ли установлена дата создания от которой выбираются платежи | | public | [hasCapturedAtLt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCapturedAtLt) | | Проверяет, была ли установлена дата создания до которой выбираются платежи | | public | [hasCapturedAtLte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCapturedAtLte) | | Проверяет, была ли установлена дата создания до которой выбираются платежи | | public | [hasCreatedAtGt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCreatedAtGt) | | Проверяет, была ли установлена дата создания от которой выбираются платежи | | public | [hasCreatedAtGte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCreatedAtGte) | | Проверяет, была ли установлена дата создания от которой выбираются платежи | | public | [hasCreatedAtLt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCreatedAtLt) | | Проверяет, была ли установлена дата создания до которой выбираются платежи | | public | [hasCreatedAtLte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCreatedAtLte) | | Проверяет, была ли установлена дата создания до которой выбираются платежи | | public | [hasCursor()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasCursor) | | Проверяет, была ли установлена страница выдачи результатов | | public | [hasLimit()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasLimit) | | Проверяет, было ли установлено ограничение количества объектов платежа | | public | [hasPaymentMethod()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasPaymentMethod) | | Проверяет, был ли установлен код способа оплаты выбираемых платежей | | public | [hasStatus()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_hasStatus) | | Проверяет, был ли установлен статус выбираемых платежей | | public | [setCapturedAtGt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCapturedAtGt) | | Устанавливает дату создания от которой выбираются платежи | | public | [setCapturedAtGte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCapturedAtGte) | | Устанавливает дату создания от которой выбираются платежи | | public | [setCapturedAtLt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCapturedAtLt) | | Устанавливает дату создания до которой выбираются платежи | | public | [setCapturedAtLte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCapturedAtLte) | | Устанавливает дату создания до которой выбираются платежи | | public | [setCreatedAtGt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCreatedAtGt) | | Устанавливает дату создания от которой выбираются платежи | | public | [setCreatedAtGte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCreatedAtGte) | | Устанавливает дату создания от которой выбираются платежи | | public | [setCreatedAtLt()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCreatedAtLt) | | Устанавливает дату создания до которой выбираются платежи | | public | [setCreatedAtLte()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCreatedAtLte) | | Устанавливает дату создания до которой выбираются платежи | | public | [setCursor()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setCursor) | | Устанавливает страницу выдачи результатов | | public | [setLimit()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setLimit) | | Устанавливает ограничение количества объектов платежа | | public | [setPaymentMethod()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setPaymentMethod) | | Устанавливает код способа оплаты выбираемых платежей | | public | [setStatus()](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md#method_setStatus) | | Устанавливает статус выбираемых платежей | --- ### Details * File: [lib/Request/Payments/PaymentsRequestInterface.php](../../lib/Request/Payments/PaymentsRequestInterface.php) * Package: \YooKassa --- ### Tags | Tag | Version | Description | | --- | ------- | ----------- | | property-read | | Страница выдачи результатов, которую необходимо отобразить | | property-read | | Время создания, от (включительно) | | property-read | | Время создания, от (не включая) | | property-read | | Время создания, до (включительно) | | property-read | | Время создания, до (не включая) | | property-read | | Время подтверждения, от (включительно) | | property-read | | Время подтверждения, от (не включая) | | property-read | | Время подтверждения, до (включительно) | | property-read | | Время подтверждения, до (не включая) | | property-read | | Ограничение количества объектов платежа, отображаемых на одной странице выдачи | | property-read | | Идентификатор шлюза. | | property-read | | Статус платежа | --- ## Methods #### public getCursor() : string|null ```php public getCursor() : string|null ``` **Summary** Возвращает страницу выдачи результатов или null, если она до этого не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** string|null - Страница выдачи результатов #### public hasCursor() : bool ```php public hasCursor() : bool ``` **Summary** Проверяет, была ли установлена страница выдачи результатов **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если страница выдачи результатов была установлена, false если нет #### public setCursor() : void ```php public setCursor(string $value) : void ``` **Summary** Устанавливает страницу выдачи результатов **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | string | value | Страница | **Returns:** void - #### public getLimit() : string|null ```php public getLimit() : string|null ``` **Summary** Возвращает ограничение количества объектов платежа или null, если оно до этого не было установлено **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** string|null - Ограничение количества объектов платежа #### public hasLimit() : bool ```php public hasLimit() : bool ``` **Summary** Проверяет, было ли установлено ограничение количества объектов платежа **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если ограничение количества объектов платежа было установлено, false если нет #### public setLimit() : void ```php public setLimit(int $value) : void ``` **Summary** Устанавливает ограничение количества объектов платежа **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | int | value | Количества объектов платежа на странице | **Returns:** void - #### public getCreatedAtGte() : \DateTime|null ```php public getCreatedAtGte() : \DateTime|null ``` **Summary** Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, от (включительно) #### public hasCreatedAtGte() : bool ```php public hasCreatedAtGte() : bool ``` **Summary** Проверяет, была ли установлена дата создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCreatedAtGte() : void ```php public setCreatedAtGte(\DateTime $value) : void ``` **Summary** Устанавливает дату создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getCreatedAtGt() : \DateTime|null ```php public getCreatedAtGt() : \DateTime|null ``` **Summary** Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, от (не включая) #### public hasCreatedAtGt() : bool ```php public hasCreatedAtGt() : bool ``` **Summary** Проверяет, была ли установлена дата создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCreatedAtGt() : void ```php public setCreatedAtGt(\DateTime $value) : void ``` **Summary** Устанавливает дату создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getCreatedAtLte() : \DateTime|null ```php public getCreatedAtLte() : \DateTime|null ``` **Summary** Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, до (включительно) #### public hasCreatedAtLte() : bool ```php public hasCreatedAtLte() : bool ``` **Summary** Проверяет, была ли установлена дата создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCreatedAtLte() : void ```php public setCreatedAtLte(\DateTime $value) : void ``` **Summary** Устанавливает дату создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getCreatedAtLt() : \DateTime|null ```php public getCreatedAtLt() : \DateTime|null ``` **Summary** Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, до (не включая) #### public hasCreatedAtLt() : bool ```php public hasCreatedAtLt() : bool ``` **Summary** Проверяет, была ли установлена дата создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCreatedAtLt() : void ```php public setCreatedAtLt(\DateTime $value) : void ``` **Summary** Устанавливает дату создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getCapturedAtGte() : \DateTime|null ```php public getCapturedAtGte() : \DateTime|null ``` **Summary** Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, от (включительно) #### public hasCapturedAtGte() : bool ```php public hasCapturedAtGte() : bool ``` **Summary** Проверяет, была ли установлена дата создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCapturedAtGte() : void ```php public setCapturedAtGte(\DateTime $value) : void ``` **Summary** Устанавливает дату создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getCapturedAtGt() : \DateTime|null ```php public getCapturedAtGt() : \DateTime|null ``` **Summary** Возвращает дату создания от которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, от (не включая) #### public hasCapturedAtGt() : bool ```php public hasCapturedAtGt() : bool ``` **Summary** Проверяет, была ли установлена дата создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCapturedAtGt() : void ```php public setCapturedAtGt(\DateTime $value) : void ``` **Summary** Устанавливает дату создания от которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getCapturedAtLte() : \DateTime|null ```php public getCapturedAtLte() : \DateTime|null ``` **Summary** Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, до (включительно) #### public hasCapturedAtLte() : bool ```php public hasCapturedAtLte() : bool ``` **Summary** Проверяет, была ли установлена дата создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCapturedAtLte() : void ```php public setCapturedAtLte(\DateTime $value) : void ``` **Summary** Устанавливает дату создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getCapturedAtLt() : \DateTime|null ```php public getCapturedAtLt() : \DateTime|null ``` **Summary** Возвращает дату создания до которой будут возвращены платежи или null, если дата не была установлена **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** \DateTime|null - Время создания, до (не включая) #### public hasCapturedAtLt() : bool ```php public hasCapturedAtLt() : bool ``` **Summary** Проверяет, была ли установлена дата создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если дата была установлена, false если нет #### public setCapturedAtLt() : void ```php public setCapturedAtLt(\DateTime $value) : void ``` **Summary** Устанавливает дату создания до которой выбираются платежи **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \DateTime | value | Дата | **Returns:** void - #### public getStatus() : string|null ```php public getStatus() : string|null ``` **Summary** Возвращает статус выбираемых платежей или null, если он до этого не был установлен **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** string|null - Статус выбираемых платежей #### public hasStatus() : bool ```php public hasStatus() : bool ``` **Summary** Проверяет, был ли установлен статус выбираемых платежей **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если статус был установлен, false если нет #### public setStatus() : void ```php public setStatus(string $value) : void ``` **Summary** Устанавливает статус выбираемых платежей **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | string | value | Статус платежей | **Returns:** void - #### public getPaymentMethod() : string|null ```php public getPaymentMethod() : string|null ``` **Summary** Возвращает код способа оплаты выбираемых платежей или null, если он до этого не был установлен **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** string|null - Код способа оплаты выбираемых платежей #### public hasPaymentMethod() : bool ```php public hasPaymentMethod() : bool ``` **Summary** Проверяет, был ли установлен код способа оплаты выбираемых платежей **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) **Returns:** bool - True если код способа оплаты был установлен, false если нет #### public setPaymentMethod() : void ```php public setPaymentMethod(string $value) : void ``` **Summary** Устанавливает код способа оплаты выбираемых платежей **Details:** * Inherited From: [\YooKassa\Request\Payments\PaymentsRequestInterface](../classes/YooKassa-Request-Payments-PaymentsRequestInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | string | value | Код способа оплаты | **Returns:** void - --- ### 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