Interface
TaxCalculationInterface
Magento\Tax\Api\TaxCalculationInterface
What it does
This interface defines the contract for tax calculation operations in Magento 2.
Developers use it to calculate taxes on quote items, retrieve default tax rates, and get calculated rates for specific product tax classes and customers.
It's the primary API for performing tax calculations throughout the checkout and order process.
Public Methods
- calculateTax()
- getDefaultCalculatedRate()
- getCalculatedRate()