Log in
Interface

TotalsInformationManagementInterface

Magento\Checkout\Api\TotalsInformationManagementInterface

What it does

This interface defines the contract for calculating shopping cart totals during checkout.

Developers use this when they need to recalculate quote totals based on updated address information or shipping methods, such as when a customer changes their shipping address or selects a different delivery option.

It's commonly used in checkout processes to ensure pricing, taxes, and shipping costs are accurately reflected before order placement.

Public Methods

  • calculate()