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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default boolean checkRemovable​(java.lang.String couponCode)
      Checks if the specific customer coupon can be removed from the current customer
    • Method Detail

      • checkRemovable

        default boolean checkRemovable​(java.lang.String couponCode)
        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