Model
AppliedTaxRate
Magento\Tax\Model\TaxDetails\AppliedTaxRate
What it does
This class represents a single tax rate that has been applied to an item or order in Magento 2.
Developers use it to access tax rate information such as the rate code, title/label, and percentage when calculating or displaying tax details in checkout, invoices, or order views.
It's typically populated during tax calculation processes and returned as part of tax detail collections.
Public Methods
- getCode()
- getTitle()
- getPercent()
- setCode()
- setTitle()
- setPercent()
- getExtensionAttributes()
- setExtensionAttributes()