Interface
TaxDetailsItemInterface
Magento\Tax\Api\Data\TaxDetailsItemInterface
What it does
This interface defines the structure for detailed tax information about individual items (products, shipping, etc.) in an order or quote.
Developers use it to access or set tax-related data like tax percentage, prices with/without tax, row totals, discount amounts, and applied taxes for each item during checkout, order processing, or tax calculations.
Public Methods
- getCode()
- setCode()
- getType()
- setType()
- getTaxPercent()
- setTaxPercent()
- getPrice()
- setPrice()
- getPriceInclTax()
- setPriceInclTax()
- getRowTotal()
- setRowTotal()
- getRowTotalInclTax()
- setRowTotalInclTax()
- getRowTax()
- setRowTax()
- getTaxableAmount()
- setTaxableAmount()
- getDiscountAmount()
- setDiscountAmount()
- getDiscountTaxCompensationAmount()
- setDiscountTaxCompensationAmount()
- getAppliedTaxes()
- setAppliedTaxes()
- getAssociatedItemCode()
- setAssociatedItemCode()
- getExtensionAttributes()
- setExtensionAttributes()