Добавлены нулевые привязки по СБП Добавлена причина отмены возвратов `payment_expired`
6.5 KiB
YooKassa API SDK
Interface: ReceiptInterface
Namespace: \YooKassa\Model\Receipt
Summary:
Interface ReceiptInterface.
Constants
- No constants found
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | getCustomer() | Возвращает информацию о плательщике. | |
| public | getItems() | Возвращает список позиций в текущем чеке. | |
| public | getObjectId() | Возвращает Id объекта чека. | |
| public | getSettlements() | Возвращает массив оплат, обеспечивающих выдачу товара. | |
| public | getTaxSystemCode() | Возвращает код системы налогообложения. | |
| public | normalize() | Подгоняет стоимость товаров в чеке к общей цене заказа. | |
| public | notEmpty() | Проверяет есть ли в чеке хотя бы одна позиция. |
Details
- File: lib/Model/Receipt/ReceiptInterface.php
- Package: \YooKassa\Model
- See Also:
Tags
| Tag | Version | Description |
|---|---|---|
| category | Interface | |
| author | cms@yoomoney.ru | |
| property | Информация о плательщике | |
| property | Список товаров в заказе | |
| property | Код системы налогообложения. Число 1-6. | |
| property | Код системы налогообложения. Число 1-6. |
Methods
public getObjectId() : null|string
public getObjectId() : null|string
Summary
Возвращает Id объекта чека.
Details:
- Inherited From: \YooKassa\Model\Receipt\ReceiptInterface
Returns: null|string - Id объекта чека
public getCustomer() : \YooKassa\Model\Receipt\ReceiptCustomerInterface
public getCustomer() : \YooKassa\Model\Receipt\ReceiptCustomerInterface
Summary
Возвращает информацию о плательщике.
Details:
- Inherited From: \YooKassa\Model\Receipt\ReceiptInterface
Returns: \YooKassa\Model\Receipt\ReceiptCustomerInterface - Информация о плательщике
public getItems() : \YooKassa\Model\Receipt\ReceiptItemInterface[]|\YooKassa\Common\ListObjectInterface
public getItems() : \YooKassa\Model\Receipt\ReceiptItemInterface[]|\YooKassa\Common\ListObjectInterface
Summary
Возвращает список позиций в текущем чеке.
Details:
- Inherited From: \YooKassa\Model\Receipt\ReceiptInterface
Returns: \YooKassa\Model\Receipt\ReceiptItemInterface[]|\YooKassa\Common\ListObjectInterface - Список товаров в заказе
public getSettlements() : \YooKassa\Model\Receipt\SettlementInterface[]|\YooKassa\Common\ListObjectInterface
public getSettlements() : \YooKassa\Model\Receipt\SettlementInterface[]|\YooKassa\Common\ListObjectInterface
Summary
Возвращает массив оплат, обеспечивающих выдачу товара.
Details:
- Inherited From: \YooKassa\Model\Receipt\ReceiptInterface
Returns: \YooKassa\Model\Receipt\SettlementInterface[]|\YooKassa\Common\ListObjectInterface - Массив оплат, обеспечивающих выдачу товара
public getTaxSystemCode() : int|null
public getTaxSystemCode() : int|null
Summary
Возвращает код системы налогообложения.
Details:
- Inherited From: \YooKassa\Model\Receipt\ReceiptInterface
Returns: int|null - Код системы налогообложения. Число 1-6.
public notEmpty() : bool
public notEmpty() : bool
Summary
Проверяет есть ли в чеке хотя бы одна позиция.
Details:
- Inherited From: \YooKassa\Model\Receipt\ReceiptInterface
Returns: bool - True если чек не пуст, false если в чеке нет ни одной позиции
public normalize() : mixed
public normalize(\YooKassa\Model\AmountInterface $orderAmount, bool $withShipping = false) : mixed
Summary
Подгоняет стоимость товаров в чеке к общей цене заказа.
Details:
- Inherited From: \YooKassa\Model\Receipt\ReceiptInterface
Parameters:
| Type | Name | Description |
|---|---|---|
\YooKassa\Model\AmountInterface |
orderAmount | Общая стоимость заказа |
bool |
withShipping | Поменять ли заодно и цену доставки |
Returns: mixed -
Top Namespaces
Reports
This document was automatically generated from source code comments on 2026-06-29 using phpDocumentor
© 2026 YooMoney