public class CouponRedemptionMethodHook extends java.lang.Object implements CommercePlaceOrderMethodHook
CommercePlaceOrderMethodHook| Constructor and Description |
|---|
CouponRedemptionMethodHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPlaceOrder(CommerceCheckoutParameter parameter,
CommerceOrderResult result)
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 CouponService |
getCouponService() |
void |
setCouponService(CouponService couponService) |
public void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
CommercePlaceOrderMethodHookafterPlaceOrder in interface CommercePlaceOrderMethodHookparameter - object containing all the information for checkoutresult - 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 modelInvalidCartExceptionprotected CouponService getCouponService()
public void setCouponService(CouponService couponService)
Copyright © 2018 SAP SE. All Rights Reserved.