Files
yookassa-sdk-php/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md
T

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


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:

Returns: string - Название товара (не более 128 символов).

public getQuantity() : float

public getQuantity() : float

Summary

Возвращает количество товара

Details:

Returns: float - Количество купленного товара

public getAmount() : float

public getAmount() : float

Summary

Возвращает общую стоимость покупаемого товара в копейках/центах

Details:

Returns: float - Сумма стоимости покупаемого товара

public getPrice() : \YooKassa\Model\AmountInterface

public getPrice() : \YooKassa\Model\AmountInterface

Summary

Возвращает цену товара

Details:

Returns: \YooKassa\Model\AmountInterface - Цена товара

public getVatCode() : int|null

public getVatCode() : int|null

Summary

Возвращает ставку НДС

Details:

Returns: int|null - Ставка НДС, число 1-6, или null, если ставка не задана

public getPaymentSubject() : string|null

public getPaymentSubject() : string|null

Summary

Возвращает признак предмета расчета

Details:

Returns: string|null - Признак предмета расчета

public getPaymentMode() : string|null

public getPaymentMode() : string|null

Summary

Возвращает признак способа расчета

Details:

Returns: string|null - Признак способа расчета

public getSupplier() : \YooKassa\Model\SupplierInterface

public getSupplier() : \YooKassa\Model\SupplierInterface

Summary

Возвращает информацию о поставщике товара или услуги

Details:

Returns: \YooKassa\Model\SupplierInterface -


Top Namespaces


Reports


This document was automatically generated from source code comments on 2022-03-02 using phpDocumentor

© 2022 YooMoney