Interface CustomerCouponsPlaceOrderStrategy
-
- All Known Implementing Classes:
CustomerCouponCommercePlaceOrderMethodHook
public interface CustomerCouponsPlaceOrderStrategyDeals with customer coupon for the customer after placing order
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidremoveCouponsForCustomer(UserModel currentUser, OrderModel order)Removes the coupons from the customer and resets the notification statusvoidupdateContinueUrl()Redirects the continue url to the Open-Catalogue if there is coupon code in continue url
-
-
-
Method Detail
-
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 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
-
-