Class CommercePlaceQuoteOrderMethodHook
java.lang.Object
de.hybris.platform.commerceservices.order.hook.impl.CommercePlaceQuoteOrderMethodHook
- All Implemented Interfaces:
CommercePlaceOrderMethodHook
public class CommercePlaceQuoteOrderMethodHook
extends Object
implements CommercePlaceOrderMethodHook
Hook for updating quote's state if the placed order was based on a quote
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPlaceOrder(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 EventServicevoidsetEventService(EventService eventService)
-
Constructor Details
-
CommercePlaceQuoteOrderMethodHook
public CommercePlaceQuoteOrderMethodHook()
-
-
Method Details
-
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
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
-
setEventService
-