public class DefaultVoucherRedemptionPlaceOrderMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
| Constructor and Description |
|---|
DefaultVoucherRedemptionPlaceOrderMethodHook() |
| 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
|
VoucherService |
getVoucherService() |
void |
setVoucherService(VoucherService voucherService) |
public DefaultVoucherRedemptionPlaceOrderMethodHook()
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 VoucherService getVoucherService()
public void setVoucherService(VoucherService voucherService)
Copyright © 2018 SAP SE. All Rights Reserved.