Class AssistedServicePlaceOrderMethodHook
- java.lang.Object
-
- de.hybris.platform.assistedservicefacades.hook.AssistedServicePlaceOrderMethodHook
-
- All Implemented Interfaces:
CommercePlaceOrderMethodHook
public class AssistedServicePlaceOrderMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
Assisted service place order hook for setting up placedBy attribute for an order.
-
-
Constructor Summary
Constructors Constructor Description AssistedServicePlaceOrderMethodHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel)
Executed after the place ordervoid
beforePlaceOrder(CommerceCheckoutParameter parameter)
Executed before the place ordervoid
beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result)
Executed before the submit orderAssistedServiceFacade
getAssistedServiceFacade()
ModelService
getModelService()
void
setAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)
void
setModelService(ModelService modelService)
-
-
-
Method Detail
-
afterPlaceOrder
public void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel) 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 checkoutorderModel
- 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
-
getAssistedServiceFacade
public AssistedServiceFacade getAssistedServiceFacade()
- Returns:
- the assistedServiceFacade
-
setAssistedServiceFacade
public void setAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)
- Parameters:
assistedServiceFacade
- the assistedServiceFacade to set
-
getModelService
public ModelService getModelService()
- Returns:
- the modelService
-
setModelService
public void setModelService(ModelService modelService)
- Parameters:
modelService
- the modelService to set
-
-