Interface CustomerCouponsPlaceOrderStrategy

All Known Implementing Classes:
CustomerCouponCommercePlaceOrderMethodHook

public interface CustomerCouponsPlaceOrderStrategy
Deals with customer coupon for the customer after placing order
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Removes the coupons from the customer and resets the notification status
    void
    Redirects the continue url to the Open-Catalogue if there is coupon code in continue url
  • Method Details

    • removeCouponsForCustomer

      void removeCouponsForCustomer(UserModel currentUser, OrderModel order)
      Removes the coupons from the customer and resets the notification status
      Parameters:
      currentUser - the current user used for removing from related user group
      order - the order used for finding the applied coupons
    • updateContinueUrl

      void updateContinueUrl()
      Redirects the continue url to the Open-Catalogue if there is coupon code in continue url