Model
TotalsConverter
Magento\Quote\Model\Cart\TotalsConverter
What it does
This class converts quote address total objects into API-compatible total segment data transfer objects.
Developers use this when they need to transform internal quote totals (like subtotal, tax, shipping) into standardized format for API responses or frontend display in the shopping cart.
Public Methods
- process()