Log in
Interface

RuleQuoteRecollectTotalsInterface

Magento\SalesRule\Model\Spi\RuleQuoteRecollectTotalsInterface

What it does

This interface defines a contract for recollecting quote totals when a sales rule (promotional rule/coupon) is modified.

Developers implement this interface to ensure that all quotes using a specific rule have their totals recalculated, keeping pricing and discounts accurate after rule changes.

It's typically used in the quote management workflow when sales rules are updated or deleted.

Public Methods

  • execute()