TaxConfigProvider
Magento\Tax\Model\TaxConfigProvider
What it does
This class provides tax-related configuration settings for the Magento 2 checkout process.
Developers use it to retrieve display preferences for tax calculations, such as whether to show prices including/excluding tax, how to display shipping prices with tax, and whether to show full tax summaries.
It implements ConfigProviderInterface to make tax configuration available to the checkout frontend.
Public Methods
- getConfig()
- getDisplayShippingMode()
- isDisplayShippingPriceExclTax()
- isDisplayShippingBothPrices()
- getReviewItemPriceDisplayMode()
- getReviewTotalsDisplayMode()
- isFullTaxSummaryDisplayed()
- isTaxDisplayedInGrandTotal()