Log in
Interface

GuestCartTotalManagementInterface

Magento\Quote\Api\GuestCartTotalManagementInterface

What it does

This interface defines the API contract for collecting shopping cart totals for guest (non-logged-in) customers.

Developers use this to calculate and update cart totals after setting shipping methods, payment methods, or additional data for guest checkouts.

It's primarily used during the checkout process to display updated prices, taxes, and shipping costs.

Public Methods

  • collectTotals()