Log in
Interface

CartTotalManagementInterface

Magento\Quote\Api\CartTotalManagementInterface

What it does

This interface defines a service contract for collecting shopping cart totals after setting payment and shipping methods.

Developers use this to calculate the complete cart totals including taxes, discounts, and shipping costs in a single API call, typically during checkout when customers select their payment and shipping options.

Public Methods

  • collectTotals()