InvoiceItemInterface
Magento\Sales\Api\Data\InvoiceItemInterface
What it does
InvoiceItemInterface defines the contract for individual line items within a Magento 2 invoice.
Developers use this interface when working with invoice data through the API, accessing or manipulating item details like product information, prices, taxes, and discounts.
It's essential for custom invoice processing, reporting, or integrations that need to read or modify invoice item data programmatically.
Public Methods
- getAdditionalData()
- getBaseCost()
- getBaseDiscountAmount()
- getBaseDiscountTaxCompensationAmount()
- getBasePrice()
- getBasePriceInclTax()
- getBaseRowTotal()
- getBaseRowTotalInclTax()
- getBaseTaxAmount()
- getDescription()
- getDiscountAmount()
- getEntityId()
- setEntityId()
- getDiscountTaxCompensationAmount()
- getName()
- getParentId()
- getPrice()
- getPriceInclTax()
- getProductId()
- getRowTotal()
- getRowTotalInclTax()
- getSku()
- getTaxAmount()
- setParentId()
- setBasePrice()
- setTaxAmount()
- setBaseRowTotal()
- setDiscountAmount()
- setRowTotal()
- setBaseDiscountAmount()
- setPriceInclTax()
- setBaseTaxAmount()
- setBasePriceInclTax()
- setBaseCost()
- setPrice()
- setBaseRowTotalInclTax()
- setRowTotalInclTax()
- setProductId()
- setAdditionalData()
- setDescription()
- setSku()
- setName()
- setDiscountTaxCompensationAmount()
- setBaseDiscountTaxCompensationAmount()
- getExtensionAttributes()
- setExtensionAttributes()