public class DefaultCouponRedemptionDao extends DefaultGenericDao<CouponRedemptionModel> implements CouponRedemptionDao
CouponRedemptionDao interface| Constructor and Description |
|---|
DefaultCouponRedemptionDao() |
| Modifier and Type | Method and Description |
|---|---|
List<CouponRedemptionModel> |
findCouponRedemptionsByCode(String couponCode)
Finds the List of CouponRedemptionModel by its couponCode.
|
List<CouponRedemptionModel> |
findCouponRedemptionsByCodeAndOrder(String couponCode,
AbstractOrderModel abstractOrder)
Finds the List of CouponRedemptionModel by its couponCode and abstractOrder.
|
List<CouponRedemptionModel> |
findCouponRedemptionsByCodeAndUser(String couponCode,
UserModel user)
Finds the List of CouponRedemptionModel by its couponCode and user.
|
List<CouponRedemptionModel> |
findCouponRedemptionsByCodeOrderAndUser(String couponCode,
AbstractOrderModel abstractOrder,
UserModel user)
Finds the List of CouponRedemptionModel by its couponCode.
|
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServicepublic List<CouponRedemptionModel> findCouponRedemptionsByCode(String couponCode)
CouponRedemptionDaofindCouponRedemptionsByCode in interface CouponRedemptionDaocouponCode - the couponCodepublic List<CouponRedemptionModel> findCouponRedemptionsByCodeAndOrder(String couponCode, AbstractOrderModel abstractOrder)
CouponRedemptionDaofindCouponRedemptionsByCodeAndOrder in interface CouponRedemptionDaocouponCode - the couponCodepublic List<CouponRedemptionModel> findCouponRedemptionsByCodeAndUser(String couponCode, UserModel user)
CouponRedemptionDaofindCouponRedemptionsByCodeAndUser in interface CouponRedemptionDaocouponCode - the couponCodeuser - the user redeeming the couponpublic List<CouponRedemptionModel> findCouponRedemptionsByCodeOrderAndUser(String couponCode, AbstractOrderModel abstractOrder, UserModel user)
CouponRedemptionDaofindCouponRedemptionsByCodeOrderAndUser in interface CouponRedemptionDaocouponCode - the couponCodeuser - the user redeeming the couponCopyright © 2017 SAP SE. All Rights Reserved.