16 KiB
YooKassa API SDK
Interface: ReceiptResponseItemInterface
Namespace: \YooKassa\Request\Receipts
Summary:
Interface ReceiptResponseItemInterface.
Constants
- No constants found
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | getAmount() | Возвращает общую стоимость покупаемого товара в копейках/центах. | |
| public | getCountryOfOriginCode() | Возвращает код страны происхождения товара по общероссийскому классификатору стран мира. | |
| public | getCustomsDeclarationNumber() | Возвращает номер таможенной декларации. | |
| public | getDescription() | Возвращает название товара. | |
| public | getExcise() | Возвращает сумму акциза товара с учетом копеек. | |
| public | getMarkCodeInfo() | Возвращает код товара. | |
| public | getMarkMode() | Возвращает режим обработки кода маркировки. | |
| public | getMarkQuantity() | Возвращает дробное количество маркированного товара. | |
| public | getMeasure() | Возвращает меру количества предмета расчета. | |
| public | getPaymentMode() | Возвращает признак способа расчета. | |
| public | getPaymentSubject() | Возвращает признак предмета расчета. | |
| public | getPaymentSubjectIndustryDetails() | Возвращает отраслевой реквизит чека. | |
| public | getPrice() | Возвращает цену товара. | |
| public | getProductCode() | Возвращает код товара — уникальный номер, который присваивается экземпляру товара при маркировке. | |
| public | getQuantity() | Возвращает количество товара. | |
| public | getSupplier() | Возвращает информацию о поставщике товара или услуги. | |
| public | getVatCode() | Возвращает ставку НДС |
Details
- File: lib/Request/Receipts/ReceiptResponseItemInterface.php
- Package: \YooKassa\Request
- See Also:
Tags
| Tag | Version | Description |
|---|---|---|
| category | Interface | |
| author | cms@yoomoney.ru | |
| property | Наименование товара (тег в 54 ФЗ — 1030) | |
| property | Количество (тег в 54 ФЗ — 1023) | |
| property | Суммарная стоимость покупаемого товара в копейках/центах | |
| property | Цена товара (тег в 54 ФЗ — 1079) | |
| property | Ставка НДС, число 1-6 (тег в 54 ФЗ — 1199) | |
| property | Ставка НДС, число 1-6 (тег в 54 ФЗ — 1199) | |
| property | Признак предмета расчета (тег в 54 ФЗ — 1212) | |
| property | Признак предмета расчета (тег в 54 ФЗ — 1212) | |
| property | Признак способа расчета (тег в 54 ФЗ — 1214) | |
| property | Признак способа расчета (тег в 54 ФЗ — 1214) | |
| property | Код страны происхождения товара (тег в 54 ФЗ — 1230) | |
| property | Код страны происхождения товара (тег в 54 ФЗ — 1230) | |
| property | Номер таможенной декларации (от 1 до 32 символов). Тег в 54 ФЗ — 1231 | |
| property | Номер таможенной декларации (от 1 до 32 символов). Тег в 54 ФЗ — 1231 | |
| property | Сумма акциза товара с учетом копеек (тег в 54 ФЗ — 1229) | |
| property | Информация о поставщике товара или услуги (тег в 54 ФЗ — 1224) | |
| property | Тип посредника, реализующего товар или услугу | |
| property | Тип посредника, реализующего товар или услугу | |
| property | Код товара (тег в 54 ФЗ — 1163) | |
| property | Код товара (тег в 54 ФЗ — 1163) | |
| property | Мера количества предмета расчета (тег в 54 ФЗ — 2108) | |
| property | Код товара — уникальный номер, который присваивается экземпляру товара при маркировке (тег в 54 ФЗ — 1162) | |
| property | Код товара — уникальный номер, который присваивается экземпляру товара при маркировке (тег в 54 ФЗ — 1162) | |
| property | Режим обработки кода маркировки (тег в 54 ФЗ — 2102) | |
| property | Режим обработки кода маркировки (тег в 54 ФЗ — 2102) | |
| property | Дробное количество маркированного товара (тег в 54 ФЗ — 1291) | |
| property | Дробное количество маркированного товара (тег в 54 ФЗ — 1291) |
Methods
public getDescription() : string|null
public getDescription() : string|null
Summary
Возвращает название товара.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: string|null - Название товара (не более 128 символов)
public getQuantity() : float
public getQuantity() : float
Summary
Возвращает количество товара.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: float - Количество купленного товара
public getAmount() : int|null
public getAmount() : int|null
Summary
Возвращает общую стоимость покупаемого товара в копейках/центах.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: int|null - Сумма стоимости покупаемого товара
public getPrice() : \YooKassa\Model\AmountInterface|null
public getPrice() : \YooKassa\Model\AmountInterface|null
Summary
Возвращает цену товара.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: \YooKassa\Model\AmountInterface|null - Цена товара
public getVatCode() : null|int
public getVatCode() : null|int
Summary
Возвращает ставку НДС
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: null|int - Ставка НДС, число 1-6, или null, если ставка не задана
public getPaymentSubject() : null|string
public getPaymentSubject() : null|string
Summary
Возвращает признак предмета расчета.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: null|string - Признак предмета расчета
public getPaymentMode() : null|string
public getPaymentMode() : null|string
Summary
Возвращает признак способа расчета.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: null|string - Признак способа расчета
public getProductCode() : null|string
public getProductCode() : null|string
Summary
Возвращает код товара — уникальный номер, который присваивается экземпляру товара при маркировке.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: null|string - Код товара
public getMarkCodeInfo() : \YooKassa\Model\Receipt\MarkCodeInfo|null
public getMarkCodeInfo() : \YooKassa\Model\Receipt\MarkCodeInfo|null
Summary
Возвращает код товара.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: \YooKassa\Model\Receipt\MarkCodeInfo|null - Код товара
public getMeasure() : string|null
public getMeasure() : string|null
Summary
Возвращает меру количества предмета расчета.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: string|null - Мера количества предмета расчета
public getMarkMode() : string|null
public getMarkMode() : string|null
Summary
Возвращает режим обработки кода маркировки.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: string|null - Режим обработки кода маркировки
public getMarkQuantity() : \YooKassa\Model\Receipt\MarkQuantity|null
public getMarkQuantity() : \YooKassa\Model\Receipt\MarkQuantity|null
Summary
Возвращает дробное количество маркированного товара.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: \YooKassa\Model\Receipt\MarkQuantity|null - Дробное количество маркированного товара
public getPaymentSubjectIndustryDetails() : \YooKassa\Model\Receipt\IndustryDetails[]|\YooKassa\Common\ListObjectInterface
public getPaymentSubjectIndustryDetails() : \YooKassa\Model\Receipt\IndustryDetails[]|\YooKassa\Common\ListObjectInterface
Summary
Возвращает отраслевой реквизит чека.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: \YooKassa\Model\Receipt\IndustryDetails[]|\YooKassa\Common\ListObjectInterface - Отраслевой реквизит чека
public getCountryOfOriginCode() : null|string
public getCountryOfOriginCode() : null|string
Summary
Возвращает код страны происхождения товара по общероссийскому классификатору стран мира.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: null|string - Код страны происхождения товара
public getCustomsDeclarationNumber() : null|string
public getCustomsDeclarationNumber() : null|string
Summary
Возвращает номер таможенной декларации.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: null|string - Номер таможенной декларации (от 1 до 32 символов)
public getExcise() : null|float
public getExcise() : null|float
Summary
Возвращает сумму акциза товара с учетом копеек.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: null|float - Сумма акциза товара с учетом копеек
public getSupplier() : \YooKassa\Model\Receipt\SupplierInterface|null
public getSupplier() : \YooKassa\Model\Receipt\SupplierInterface|null
Summary
Возвращает информацию о поставщике товара или услуги.
Details:
- Inherited From: \YooKassa\Request\Receipts\ReceiptResponseItemInterface
Returns: \YooKassa\Model\Receipt\SupplierInterface|null - Информация о поставщике товара или услуги
Top Namespaces
Reports
This document was automatically generated from source code comments on 2023-06-16 using phpDocumentor
© 2023 YooMoney