Log in
Model

TotalsCollectorList

Magento\Quote\Model\Quote\TotalsCollectorList

What it does

This class manages and provides access to the collection of total calculators used when computing quote totals in Magento 2.

Developers use this class to retrieve all registered total collectors (like subtotal, shipping, tax, discount collectors) for a specific store, which are then used to calculate the final quote amounts during checkout or cart operations.

Public Methods

  • getCollectors()