Interface CustomerCouponRemovableStrategy
- All Known Implementing Classes:
DefaultCustomerCouponRemovableStrategy
public interface CustomerCouponRemovableStrategy
Checks if the specific customer coupon can be removed the when removing it
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancheckRemovable(String couponCode) Checks if the specific customer coupon can be removed from the current customer
-
Method Details
-
checkRemovable
Checks if the specific customer coupon can be removed from the current customer- Parameters:
couponCode- the coupon code- Returns:
- true if the coupon can be removed and false otherwise
-