Interface GenericCouponWsFacades
- All Known Implementing Classes:
DefaultGenericCouponWsFacades
public interface GenericCouponWsFacades
Interface declaring basic web-services facade operations on unknown type of coupons
-
Method Summary
Modifier and TypeMethodDescriptionvalidateCoupon(String couponCode, String customerId) Validates the given couponCode for the given customer, throws an exception if coupon code or customer id is invalid
-
Method Details
-
validateCoupon
Validates the given couponCode for the given customer, throws an exception if coupon code or customer id is invalid- Parameters:
couponCode- a string to be used to validate a couponcustomerId- the user id- Returns:
- - an instance of
CouponValidationResponseWsDTO
-