public class ProfilePlaceOrderMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
| Constructor and Description |
|---|
ProfilePlaceOrderMethodHook() |
| 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)
Stores the consent reference and the cart id in the order model
|
ConsentService |
getConsentService() |
ModelService |
getModelService() |
ProfileConfigurationService |
getProfileConfigurationService() |
void |
setConsentService(ConsentService consentService) |
void |
setModelService(ModelService modelService) |
void |
setProfileConfigurationService(ProfileConfigurationService profileConfigurationService) |
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
beforeSubmitOrder in interface CommercePlaceOrderMethodHookparameter - object containing all the information for checkoutresult - InvalidCartExceptionpublic ModelService getModelService()
public void setModelService(ModelService modelService)
public ConsentService getConsentService()
public void setConsentService(ConsentService consentService)
public ProfileConfigurationService getProfileConfigurationService()
public void setProfileConfigurationService(ProfileConfigurationService profileConfigurationService)
Copyright © 2018 SAP SE. All Rights Reserved.