Interface CustomerCouponsPlaceOrderStrategy
- All Known Implementing Classes:
CustomerCouponCommercePlaceOrderMethodHook
public interface CustomerCouponsPlaceOrderStrategy
Deals with customer coupon for the customer after placing order
-
Method Summary
Modifier and TypeMethodDescriptionvoidremoveCouponsForCustomer(UserModel currentUser, OrderModel order) Removes the coupons from the customer and resets the notification statusvoidRedirects the continue url to the Open-Catalogue if there is coupon code in continue url
-
Method Details
-
removeCouponsForCustomer
Removes the coupons from the customer and resets the notification status- Parameters:
currentUser- the current user used for removing from related user grouporder- 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
-