Model
CouponUsageConsumer
Magento\SalesRule\Model\CouponUsageConsumer
What it does
This consumer class processes asynchronous coupon usage updates in Magento 2's message queue system.
Developers use this when implementing or troubleshooting the asynchronous updating of sales rule and coupon usage counters after orders are placed, ensuring accurate tracking of how many times coupons and rules have been used without blocking the checkout process.
Public Methods
- process()