6.6 KiB
YooKassa API SDK
Interface: ReceiptResponseItemInterface
Namespace: \YooKassa\Request\Receipts
Summary:
Interface ReceiptItemInterface
Constants
- No constants found
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | getAmount() | Возвращает общую стоимость покупаемого товара в копейках/центах | |
| public | getDescription() | Возвращает название товара | |
| public | getPaymentMode() | Возвращает признак способа расчета | |
| public | getPaymentSubject() | Возвращает признак предмета расчета | |
| public | getPrice() | Возвращает цену товара | |
| public | getQuantity() | Возвращает количество товара | |
| public | getSupplier() | Возвращает информацию о поставщике товара или услуги | |
| public | getVatCode() | Возвращает ставку НДС |
Details
- File: lib/Request/Receipts/ReceiptResponseItemInterface.php
- Package: \YooKassa
Tags
| Tag | Version | Description |
|---|---|---|
| property-read | Название товара (не более 128 символов). | |
| property-read | Количество товара. Максимально возможное значение зависит от модели вашей онлайн-кассы. | |
| property-read | Суммарная стоимость товара в копейках/центах | |
| property-read | Цена товара | |
| property-read | Ставка НДС, число 1-6 | |
| property-read | Ставка НДС, число 1-6 |
Methods
public getDescription() : string
public getDescription() : string
Summary
Возвращает название товара
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: string - Название товара (не более 128 символов).
public getQuantity() : float
public getQuantity() : float
Summary
Возвращает количество товара
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: float - Количество купленного товара
public getAmount() : float
public getAmount() : float
Summary
Возвращает общую стоимость покупаемого товара в копейках/центах
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: float - Сумма стоимости покупаемого товара
public getPrice() : \YooKassa\Model\AmountInterface
public getPrice() : \YooKassa\Model\AmountInterface
Summary
Возвращает цену товара
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: \YooKassa\Model\AmountInterface - Цена товара
public getVatCode() : int|null
public getVatCode() : int|null
Summary
Возвращает ставку НДС
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: int|null - Ставка НДС, число 1-6, или null, если ставка не задана
public getPaymentSubject() : string|null
public getPaymentSubject() : string|null
Summary
Возвращает признак предмета расчета
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: string|null - Признак предмета расчета
public getPaymentMode() : string|null
public getPaymentMode() : string|null
Summary
Возвращает признак способа расчета
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: string|null - Признак способа расчета
public getSupplier() : \YooKassa\Model\SupplierInterface
public getSupplier() : \YooKassa\Model\SupplierInterface
Summary
Возвращает информацию о поставщике товара или услуги
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: \YooKassa\Model\SupplierInterface -
Top Namespaces
Reports
This document was automatically generated from source code comments on 2022-03-02 using phpDocumentor
© 2022 YooMoney