Добавлены нулевые привязки по СБП Добавлена причина отмены возвратов `payment_expired`
12 KiB
YooKassa API SDK
Interface: TransferDataInterface
Namespace: \YooKassa\Request\Payments
Summary:
Interface TransferDataInterface.
Description:
Данные о распределении денег — сколько и в какой магазин нужно перевести. Присутствует, если вы используете Сплитование платежей.
Constants
- No constants found
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | getAccountId() | Возвращает account_id. | |
| public | getAmount() | Возвращает amount. | |
| public | getDescription() | Возвращает description. | |
| public | getMetadata() | Возвращает metadata. | |
| public | getPlatformFeeAmount() | Возвращает platform_fee_amount. | |
| public | hasAccountId() | ||
| public | hasAmount() | ||
| public | hasDescription() | ||
| public | hasMetadata() | ||
| public | hasPlatformFeeAmount() | ||
| public | setAccountId() | Устанавливает account_id. | |
| public | setAmount() | Устанавливает amount. | |
| public | setDescription() | Устанавливает description. | |
| public | setMetadata() | Устанавливает metadata. | |
| public | setPlatformFeeAmount() | Устанавливает platform_fee_amount. |
Details
- File: lib/Request/Payments/TransferDataInterface.php
- Package: \YooKassa\Request
- See Also:
Tags
| Tag | Version | Description |
|---|---|---|
| category | Class | |
| author | cms@yoomoney.ru | |
| property | Идентификатор магазина, в пользу которого вы принимаете оплату | |
| property | Идентификатор магазина, в пользу которого вы принимаете оплату | |
| property | Сумма, которую необходимо перечислить магазину | |
| property | Комиссия за проданные товары и услуги, которая удерживается с магазина в вашу пользу | |
| property | Комиссия за проданные товары и услуги, которая удерживается с магазина в вашу пользу | |
| property | Описание транзакции, которое продавец увидит в личном кабинете ЮKassa. (например: «Заказ маркетплейса №72») | |
| property | Любые дополнительные данные, которые нужны вам для работы с платежами (например, ваш внутренний идентификатор заказа) |
Methods
public getAccountId() : string|null
public getAccountId() : string|null
Summary
Возвращает account_id.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: string|null -
public setAccountId() : \YooKassa\Request\Payments\TransferData
public setAccountId(string|null $value = null) : \YooKassa\Request\Payments\TransferData
Summary
Устанавливает account_id.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Parameters:
| Type | Name | Description |
|---|---|---|
string OR null |
value |
Returns: \YooKassa\Request\Payments\TransferData -
public hasAccountId() : bool
public hasAccountId() : bool
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: bool -
public getAmount() : \YooKassa\Model\AmountInterface|null
public getAmount() : \YooKassa\Model\AmountInterface|null
Summary
Возвращает amount.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: \YooKassa\Model\AmountInterface|null -
public setAmount() : \YooKassa\Request\Payments\TransferData
public setAmount(\YooKassa\Model\AmountInterface|array|null $value = null) : \YooKassa\Request\Payments\TransferData
Summary
Устанавливает amount.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Parameters:
| Type | Name | Description |
|---|---|---|
\YooKassa\Model\AmountInterface OR array OR null |
value |
Returns: \YooKassa\Request\Payments\TransferData -
public hasAmount() : bool
public hasAmount() : bool
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: bool -
public getPlatformFeeAmount() : \YooKassa\Model\AmountInterface|null
public getPlatformFeeAmount() : \YooKassa\Model\AmountInterface|null
Summary
Возвращает platform_fee_amount.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: \YooKassa\Model\AmountInterface|null -
public setPlatformFeeAmount() : \YooKassa\Request\Payments\TransferData
public setPlatformFeeAmount(\YooKassa\Model\AmountInterface|array|null $value = null) : \YooKassa\Request\Payments\TransferData
Summary
Устанавливает platform_fee_amount.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Parameters:
| Type | Name | Description |
|---|---|---|
\YooKassa\Model\AmountInterface OR array OR null |
value |
Returns: \YooKassa\Request\Payments\TransferData -
public hasPlatformFeeAmount() : bool
public hasPlatformFeeAmount() : bool
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: bool -
public getDescription() : string|null
public getDescription() : string|null
Summary
Возвращает description.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: string|null -
public setDescription() : \YooKassa\Request\Payments\TransferData
public setDescription(string|null $value = null) : \YooKassa\Request\Payments\TransferData
Summary
Устанавливает description.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Parameters:
| Type | Name | Description |
|---|---|---|
string OR null |
value | Описание транзакции (не более 128 символов), которое продавец увидит в личном кабинете ЮKassa. Например: «Заказ маркетплейса №72». |
Returns: \YooKassa\Request\Payments\TransferData -
public hasDescription() : bool
public hasDescription() : bool
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: bool -
public getMetadata() : \YooKassa\Model\Metadata|null
public getMetadata() : \YooKassa\Model\Metadata|null
Summary
Возвращает metadata.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: \YooKassa\Model\Metadata|null -
public setMetadata() : \YooKassa\Request\Payments\TransferData
public setMetadata(string|array|null $value = null) : \YooKassa\Request\Payments\TransferData
Summary
Устанавливает metadata.
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Parameters:
| Type | Name | Description |
|---|---|---|
string OR array OR null |
value | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. |
Returns: \YooKassa\Request\Payments\TransferData -
public hasMetadata() : bool
public hasMetadata() : bool
Details:
- Inherited From: \YooKassa\Request\Payments\TransferDataInterface
Returns: bool -
Top Namespaces
Reports
This document was automatically generated from source code comments on 2026-06-29 using phpDocumentor
© 2026 YooMoney