Interface
AppliedTaxInterface
Magento\Tax\Api\Data\AppliedTaxInterface
What it does
This interface defines the contract for representing tax that has been applied to an order item or total in Magento 2.
Developers use this when working with tax calculations, order processing, or displaying tax breakdowns to customers, as it provides access to the tax rate key, percentage, amount, and detailed rate information.
Public Methods
- getTaxRateKey()
- setTaxRateKey()
- getPercent()
- setPercent()
- getAmount()
- setAmount()
- getRates()
- setRates()
- getExtensionAttributes()
- setExtensionAttributes()