public class AssistedServicePlaceOrderMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
| Constructor and Description |
|---|
AssistedServicePlaceOrderMethodHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPlaceOrder(CommerceCheckoutParameter parameter,
CommerceOrderResult orderModel)
Executed after the place order
|
void |
beforePlaceOrder(CommerceCheckoutParameter parameter)
Executed before the place order
|
void |
beforeSubmitOrder(CommerceCheckoutParameter parameter,
CommerceOrderResult result)
Executed before the submit order
|
AssistedServiceFacade |
getAssistedServiceFacade() |
ModelService |
getModelService() |
void |
setAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade) |
void |
setModelService(ModelService modelService) |
public void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel) throws InvalidCartException
CommercePlaceOrderMethodHookafterPlaceOrder in interface CommercePlaceOrderMethodHookparameter - object containing all the information for checkoutorderModel - object containing the order modelInvalidCartExceptionpublic void beforePlaceOrder(CommerceCheckoutParameter parameter) throws InvalidCartException
CommercePlaceOrderMethodHookbeforePlaceOrder in interface CommercePlaceOrderMethodHookparameter - object containing all the information for checkoutInvalidCartExceptionpublic void beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
CommercePlaceOrderMethodHookbeforeSubmitOrder in interface CommercePlaceOrderMethodHookparameter - object containing all the information for checkoutresult - object containing the order modelInvalidCartExceptionpublic AssistedServiceFacade getAssistedServiceFacade()
public void setAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)
assistedServiceFacade - the assistedServiceFacade to setpublic ModelService getModelService()
public void setModelService(ModelService modelService)
modelService - the modelService to setCopyright © 2018 SAP SE. All Rights Reserved.