Model
AbstractTotalsProcessor
Magento\Checkout\Model\Layout\AbstractTotalsProcessor
What it does
This abstract class provides base functionality for processing and sorting checkout totals (like subtotal, tax, shipping, grand total) based on store configuration.
Developers extend this class when creating custom totals processors to ensure consistent ordering of total line items displayed during checkout according to the 'sales/totals_sort' configuration.
Public Methods
- sortTotals()