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 Type
    Method
    Description
    default boolean
    checkRemovable(String couponCode)
    Checks if the specific customer coupon can be removed from the current customer
  • Method Details

    • checkRemovable

      default boolean checkRemovable(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