CalculatorFactory
Magento\Tax\Model\Calculation\CalculatorFactory
What it does
This factory class creates different types of tax calculators based on the calculation method configured in Magento (unit-based, row-based, or total-based).
Developers use this when they need to instantiate a tax calculator with specific customer and address information for calculating taxes on orders or quotes.
The factory handles the instantiation and configuration of the appropriate calculator type based on the store's tax settings.
Public Methods
- create()