Interface CouponNotificationDao

All Superinterfaces:
GenericDao<CouponNotificationModel>
All Known Implementing Classes:
DefaultCouponNotificationDao

public interface CouponNotificationDao extends GenericDao<CouponNotificationModel>
Looks up items related to CouponNotificationModel
  • Method Details

    • findAllCouponNotifications

      default List<CouponNotificationModel> findAllCouponNotifications()
      Finds all customer coupons applicable for sending out notifications
      Returns:
      the list of CouponNotificationModel
    • findCouponNotificationByCouponCode

      List<CouponNotificationModel> findCouponNotificationByCouponCode(String couponCode)
      Finds coupon notifications by coupon code
      Parameters:
      couponCode - the coupon code
      Returns:
      the list of CouponNotificationModel
    • findCouponNotificationsForCustomer

      List<CouponNotificationModel> findCouponNotificationsForCustomer(CustomerModel customer)
      Finds coupon notifications for the customer
      Parameters:
      customer - the customer model
      Returns:
      the list of CouponNotificationModel