public interface CouponDao extends Dao
| Modifier and Type | Method and Description |
|---|---|
AbstractCouponModel |
findCouponById(String couponId)
Finds the AbstractCouponModel by its couponId.
|
MultiCodeCouponModel |
findMultiCodeCouponById(String couponId)
Returns the MultiCodeCoupon for the given couponId.
|
List<MultiCodeCouponModel> |
findMultiCodeCouponsByCodeConfiguration(CodeGenerationConfigurationModel config)
Returns the list of MultiCodeCoupons that have the given configuration.
|
SingleCodeCouponModel |
findSingleCodeCouponById(String couponId)
Finds the SingleCodeCouponModel by its couponId.
|
AbstractCouponModel findCouponById(String couponId)
couponId - the couponIdSingleCodeCouponModel findSingleCodeCouponById(String couponId)
couponId - the couponIdMultiCodeCouponModel findMultiCodeCouponById(String couponId)
couponId - the coupon idList<MultiCodeCouponModel> findMultiCodeCouponsByCodeConfiguration(CodeGenerationConfigurationModel config)
config - the configurationCopyright © 2017 SAP SE. All Rights Reserved.