public interface FindCouponStrategy
| Modifier and Type | Method and Description |
|---|---|
Optional<AbstractCouponModel> |
findCouponForCouponCode(String couponCode)
Find the coupon for the provided
couponCode without any validaton. |
Optional<AbstractCouponModel> |
findValidatedCouponForCouponCode(String couponCode)
Find the coupon for the provided
couponCode with the validation of the coupon
throws CouponServiceException if the coupon Code is not active or not within the date range. |
Optional<AbstractCouponModel> findCouponForCouponCode(String couponCode)
couponCode without any validaton.couponCode - the coupon code (i.e. as entered in a storefront etc)Optional<AbstractCouponModel> findValidatedCouponForCouponCode(String couponCode)
couponCode with the validation of the coupon
throws CouponServiceException if the coupon Code is not active or not within the date range.couponCode - the coupon code (i.e. as entered in a storefront etc)Copyright © 2017 SAP SE. All Rights Reserved.