Class DefaultCustomerCouponRemovableStrategy
- java.lang.Object
-
- de.hybris.platform.customercouponfacades.strategies.impl.DefaultCustomerCouponRemovableStrategy
-
- All Implemented Interfaces:
CustomerCouponRemovableStrategy
public class DefaultCustomerCouponRemovableStrategy extends java.lang.Object implements CustomerCouponRemovableStrategy
Default implementation ofCustomerCouponRemovableStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerCouponRemovableStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckRemovable(java.lang.String couponCode)Checks if the specific customer coupon can be removed from the current customerprotected CustomerCouponServicegetCustomerCouponService()voidsetCustomerCouponService(CustomerCouponService customerCouponService)
-
-
-
Method Detail
-
checkRemovable
public boolean checkRemovable(java.lang.String couponCode)
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
protected CustomerCouponService getCustomerCouponService()
-
setCustomerCouponService
public void setCustomerCouponService(CustomerCouponService customerCouponService)
-
-