Interface
GuestCouponManagementInterface
Magento\Quote\Api\GuestCouponManagementInterface
What it does
This interface defines the API contract for managing discount coupons in guest shopping carts (carts for non-logged-in customers).
Developers use this to implement or call services that retrieve, apply, or remove coupon codes from guest carts through REST/SOAP APIs.
It's the guest-specific version of coupon management, requiring only a cart ID rather than customer authentication.
Public Methods
- get()
- set()
- remove()