Log in
Interface

GuestTotalsInformationManagementInterface

Magento\Checkout\Api\GuestTotalsInformationManagementInterface

What it does

This interface defines the contract for calculating cart totals for guest (non-logged-in) customers during checkout.

Developers use this to retrieve updated order totals including taxes, shipping costs, and discounts when a guest customer provides their address and selects a shipping method.

It's typically called during the checkout process when address or shipping information changes.

Public Methods

  • calculate()