Class DefaultVoucherRedemptionPlaceOrderMethodHook
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.hook.impl.DefaultVoucherRedemptionPlaceOrderMethodHook
-
- All Implemented Interfaces:
CommercePlaceOrderMethodHook
public class DefaultVoucherRedemptionPlaceOrderMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
-
-
Constructor Summary
Constructors Constructor Description DefaultVoucherRedemptionPlaceOrderMethodHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel)Executed after the place ordervoidbeforePlaceOrder(CommerceCheckoutParameter parameter)Executed before the place ordervoidbeforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result)Executed before the submit orderVoucherServicegetVoucherService()voidsetVoucherService(VoucherService voucherService)
-
-
-
Method Detail
-
afterPlaceOrder
public void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHookExecuted after the place order- Specified by:
afterPlaceOrderin interfaceCommercePlaceOrderMethodHook- Parameters:
parameter- object containing all the information for checkoutorderModel- object containing the order model- Throws:
InvalidCartException
-
beforePlaceOrder
public void beforePlaceOrder(CommerceCheckoutParameter parameter) throws InvalidCartException
Description copied from interface:CommercePlaceOrderMethodHookExecuted before the place order- Specified by:
beforePlaceOrderin 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:CommercePlaceOrderMethodHookExecuted before the submit order- Specified by:
beforeSubmitOrderin interfaceCommercePlaceOrderMethodHook- Parameters:
parameter- object containing all the information for checkoutresult- object containing the order model- Throws:
InvalidCartException
-
getVoucherService
public VoucherService getVoucherService()
-
setVoucherService
public void setVoucherService(VoucherService voucherService)
-
-