Class CommercePlaceQuoteOrderMethodHook
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.hook.impl.CommercePlaceQuoteOrderMethodHook
-
- All Implemented Interfaces:
CommercePlaceOrderMethodHook
public class CommercePlaceQuoteOrderMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
Hook for updating quote's state if the placed order was based on a quote
-
-
Constructor Summary
Constructors Constructor Description CommercePlaceQuoteOrderMethodHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPlaceOrder(CommerceCheckoutParameter commerceCheckoutParameter, CommerceOrderResult commerceOrderResult)Executed after the place ordervoidbeforePlaceOrder(CommerceCheckoutParameter commerceCheckoutParameter)Executed before the place ordervoidbeforeSubmitOrder(CommerceCheckoutParameter commerceCheckoutParameter, CommerceOrderResult commerceOrderResult)Executed before the submit orderprotected EventServicegetEventService()voidsetEventService(EventService eventService)
-
-
-
Method Detail
-
afterPlaceOrder
public void afterPlaceOrder(CommerceCheckoutParameter commerceCheckoutParameter, CommerceOrderResult commerceOrderResult)
Description copied from interface:CommercePlaceOrderMethodHookExecuted after the place order- Specified by:
afterPlaceOrderin interfaceCommercePlaceOrderMethodHook- Parameters:
commerceCheckoutParameter- object containing all the information for checkoutcommerceOrderResult- object containing the order model
-
beforePlaceOrder
public void beforePlaceOrder(CommerceCheckoutParameter commerceCheckoutParameter)
Description copied from interface:CommercePlaceOrderMethodHookExecuted before the place order- Specified by:
beforePlaceOrderin interfaceCommercePlaceOrderMethodHook- Parameters:
commerceCheckoutParameter- object containing all the information for checkout
-
beforeSubmitOrder
public void beforeSubmitOrder(CommerceCheckoutParameter commerceCheckoutParameter, CommerceOrderResult commerceOrderResult)
Description copied from interface:CommercePlaceOrderMethodHookExecuted before the submit order- Specified by:
beforeSubmitOrderin interfaceCommercePlaceOrderMethodHook- Parameters:
commerceCheckoutParameter- object containing all the information for checkoutcommerceOrderResult- object containing the order model
-
getEventService
protected EventService getEventService()
-
setEventService
public void setEventService(EventService eventService)
-
-