Files
yookassa-sdk-php/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md
Евгений Ю. Лозный 260d13f890 Добавлен прием платежей через Alfa Pay. Добавлен новый тип ошибки RuleViolationError
Добавлены нулевые привязки по СБП
Добавлена причина отмены возвратов `payment_expired`
2026-06-29 17:46:40 +03:00

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


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:

Returns: null|string - Id объекта чека

public getCustomer() : \YooKassa\Model\Receipt\ReceiptCustomerInterface

public getCustomer() : \YooKassa\Model\Receipt\ReceiptCustomerInterface

Summary

Возвращает информацию о плательщике.

Details:

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:

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:

Returns: \YooKassa\Model\Receipt\SettlementInterface[]|\YooKassa\Common\ListObjectInterface - Массив оплат, обеспечивающих выдачу товара

public getTaxSystemCode() : int|null

public getTaxSystemCode() : int|null

Summary

Возвращает код системы налогообложения.

Details:

Returns: int|null - Код системы налогообложения. Число 1-6.

public notEmpty() : bool

public notEmpty() : bool

Summary

Проверяет есть ли в чеке хотя бы одна позиция.

Details:

Returns: bool - True если чек не пуст, false если в чеке нет ни одной позиции

public normalize() : mixed

public normalize(\YooKassa\Model\AmountInterface $orderAmount, bool $withShipping = false) : mixed

Summary

Подгоняет стоимость товаров в чеке к общей цене заказа.

Details:

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