Model
AppliedTax
Magento\Tax\Model\TaxDetails\AppliedTax
What it does
This class represents applied tax information for a transaction in Magento 2.
Developers use it to store and retrieve details about taxes applied to orders, quotes, or invoice items, including the tax rate key, percentage, calculated tax amount, and individual rate breakdowns.
It's commonly used in tax calculation processes and when displaying tax information on order summaries.
Public Methods
- getTaxRateKey()
- getPercent()
- getAmount()
- getRates()
- setTaxRateKey()
- setPercent()
- setAmount()
- setRates()
- getExtensionAttributes()
- setExtensionAttributes()