Interface
CouponManagementInterface
Magento\Quote\Api\CouponManagementInterface
What it does
This interface defines the contract for managing coupon codes in shopping carts.
Developers use this service to retrieve applied coupons, add new coupon codes to a cart, or remove existing coupons.
It's commonly used during checkout processes, in cart management features, or when building custom promotional functionality.
Public Methods
- get()
- set()
- remove()