OrderTaxItemInterface
Magento\Tax\Api\Data\OrderTaxItemInterface
What it does
This interface defines the data structure for tax items applied to order items in Magento 2.
Developers use it to access and manipulate tax details for individual order items, including tax amounts, percentages, codes, and relationships between taxable items.
It's essential when working with order tax calculations, tax reports, or customizing how taxes are stored and retrieved for orders.
Public Methods
- getTaxItemId()
- setTaxItemId()
- getTaxId()
- setTaxId()
- getItemId()
- setItemId()
- getTaxCode()
- setTaxCode()
- getTaxPercent()
- setTaxPercent()
- getAmount()
- setAmount()
- getBaseAmount()
- setBaseAmount()
- getRealAmount()
- setRealAmount()
- getRealBaseAmount()
- setRealBaseAmount()
- getAssociatedItemId()
- setAssociatedItemId()
- getTaxableItemType()
- setTaxableItemType()
- getExtensionAttributes()
- setExtensionAttributes()