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

Implementation

Details: How is the «Apply Discount On Prices» («Excluding Tax» / «Including Tax») option handled?

Usages

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

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

3. Magento\Tax\Model\Sales\Total\Quote\CommonTaxCollector::updateItemTaxInfo()

4. Magento\Tax\Model\Sales\Total\Quote\CommonTaxCollector::processShippingTaxInfo()

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

See also: