CollectQuote
Magento\Checkout\Model\Cart\CollectQuote
What it does
This class handles the collection and calculation of quote totals for logged-in customers during cart operations.
It automatically retrieves the customer's default shipping address and estimates shipping methods to ensure accurate pricing and tax calculations.
Developers use this when they need to trigger quote recalculation, particularly after cart modifications or when initializing checkout.
Public Methods
- collect()