Log in
Model

GrandTotalDetailsPlugin

Magento\Tax\Model\Quote\GrandTotalDetailsPlugin

What it does

This plugin enriches the shopping cart tax totals with detailed breakdowns of tax rates and amounts for API responses.

Developers use this when they need to display itemized tax information in the cart, showing each tax rate applied, its percentage, and the amount calculated.

It processes the tax data from quote totals and formats it into structured extension attributes for the cart totals API.

Public Methods

  • afterProcess()