public class DefaultBundleCommercePlaceOrderMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
| Constructor and Description |
|---|
DefaultBundleCommercePlaceOrderMethodHook() |
| 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
|
protected BundleCommerceCartService |
getBundleCommerceCartService() |
protected L10NService |
getL10NService() |
void |
setBundleCommerceCartService(BundleCommerceCartService bundleCommerceCartService) |
void |
setL10NService(L10NService l10NService) |
public DefaultBundleCommercePlaceOrderMethodHook()
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 void setL10NService(L10NService l10NService)
protected L10NService getL10NService()
public void setBundleCommerceCartService(BundleCommerceCartService bundleCommerceCartService)
protected BundleCommerceCartService getBundleCommerceCartService()
Copyright © 2018 SAP SE. All Rights Reserved.