Class DefaultCustomerCouponRemovableStrategy
java.lang.Object
de.hybris.platform.customercouponfacades.strategies.impl.DefaultCustomerCouponRemovableStrategy
- All Implemented Interfaces:
CustomerCouponRemovableStrategy
public class DefaultCustomerCouponRemovableStrategy
extends Object
implements CustomerCouponRemovableStrategy
Default implementation of
CustomerCouponRemovableStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckRemovable(String couponCode) Checks if the specific customer coupon can be removed from the current customerprotected CustomerCouponServicevoidsetCustomerCouponService(CustomerCouponService customerCouponService)
-
Constructor Details
-
DefaultCustomerCouponRemovableStrategy
public DefaultCustomerCouponRemovableStrategy()
-
-
Method Details
-
checkRemovable
Description copied from interface:CustomerCouponRemovableStrategyChecks if the specific customer coupon can be removed from the current customer- Specified by:
checkRemovablein interfaceCustomerCouponRemovableStrategy- Parameters:
couponCode- the coupon code- Returns:
- true if the coupon can be removed and false otherwise
-
getCustomerCouponService
-
setCustomerCouponService
-