Class CouponRedemptionMethodHook
- java.lang.Object
-
- de.hybris.platform.couponservices.order.hooks.CouponRedemptionMethodHook
-
- All Implemented Interfaces:
CommercePlaceOrderMethodHook
public class CouponRedemptionMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
Default Implementation ofCommercePlaceOrderMethodHook
-
-
Constructor Summary
Constructors Constructor Description CouponRedemptionMethodHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result)
Executed after the place ordervoid
beforePlaceOrder(CommerceCheckoutParameter parameter)
Executed before the place ordervoid
beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result)
Executed before the submit orderprotected CouponService
getCouponService()
void
setCouponService(CouponService couponService)
-
-
-
Method Detail
-
afterPlaceOrder
public void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHook
Executed after the place order- Specified by:
afterPlaceOrder
in interfaceCommercePlaceOrderMethodHook
- Parameters:
parameter
- object containing all the information for checkoutresult
- object containing the order model- Throws:
InvalidCartException
-
beforePlaceOrder
public void beforePlaceOrder(CommerceCheckoutParameter parameter) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHook
Executed before the place order- Specified by:
beforePlaceOrder
in interfaceCommercePlaceOrderMethodHook
- Parameters:
parameter
- object containing all the information for checkout- Throws:
InvalidCartException
-
beforeSubmitOrder
public void beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHook
Executed before the submit order- Specified by:
beforeSubmitOrder
in interfaceCommercePlaceOrderMethodHook
- Parameters:
parameter
- object containing all the information for checkoutresult
- object containing the order model- Throws:
InvalidCartException
-
getCouponService
protected CouponService getCouponService()
-
setCouponService
public void setCouponService(CouponService couponService)
-
-