How is \Magento\Tax\Model\Config::applyTaxAfterDiscount() implemented and used?

Implementation

Details: How is the «Apply Customer Tax» («Before Discount» / «After Discount») option handled?

Usages

1. Magento\Tax\Helper\Data::applyTaxAfterDiscount()

2. Magento\Tax\Model\Config::getCalculationSequence()

3. Magento\Tax\Model\Calculation\AbstractAggregateCalculator::calculateWithTaxInPrice()

4. Magento\Tax\Model\Calculation\AbstractAggregateCalculator::calculateWithTaxNotInPrice()

5. Magento\Tax\Model\Calculation\UnitBaseCalculator::calculateWithTaxInPrice()

6. Magento\Tax\Model\Calculation\UnitBaseCalculator::calculateWithTaxNotInPrice()

7. Magento\Tax\Model\System\Message\Notifications::checkDiscountSettings()

8. Magento\Tax\Model\System\Message\Notification\ApplyDiscountOnPrices::checkSettings()

9. Magento\Tax\Model\System\Message\Notification\DiscountErrors::checkSettings()

See also: