Model
CartPrices
Magento\QuoteGraphQl\Model\Resolver\CartPrices
What it does
This GraphQL resolver calculates and returns comprehensive pricing information for a shopping cart, including grand totals, subtotals with/without tax, applied taxes, and discounts.
Developers use this class when building GraphQL APIs that need to expose detailed cart price breakdowns to frontend applications or headless commerce implementations.
Public Methods
- resolve()