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 Type
    Method
    Description
    validateCoupon(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

      CouponValidationResponseWsDTO validateCoupon(String couponCode, String customerId)
      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 coupon
      customerId - the user id
      Returns:
      - an instance of CouponValidationResponseWsDTO