Interface CommercePlaceOrderMethodHook
-
- All Known Implementing Classes:
AssistedServicePlaceOrderMethodHook
,B2BApprovalBusinessProcessCreationPlaceOrderMethodHook
,C4CPlaceQuoteOrderMethodHook
,ChineseCommercePlaceOrderMethodHook
,CommercePlaceQuoteOrderMethodHook
,CouponRedemptionMethodHook
,CustomerCouponCommercePlaceOrderMethodHook
,DefaultBundleCommercePlaceOrderMethodHook
,DefaultFlashBuyCommercePlaceOrderMethodHook
,DefaultSubscriptionCommercePlaceOrderMethodHook
,DefaultVoucherRedemptionPlaceOrderMethodHook
,GiveAwayMultiCodeCouponGenerationHook
,ProductConfigurationPlaceOrderHookImpl
,ProfilePlaceOrderMethodHook
,SapCpiQuoteOrderMethodHook
,WebServicesPlaceOrderHook
public interface CommercePlaceOrderMethodHook
Hook interface for PlaceOrder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel)
Executed after the place ordervoid
beforePlaceOrder(CommerceCheckoutParameter parameter)
Executed before the place ordervoid
beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result)
Executed before the submit order
-
-
-
Method Detail
-
afterPlaceOrder
void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel) throws InvalidCartException
Executed after the place order- Parameters:
parameter
- object containing all the information for checkoutorderModel
- object containing the order model- Throws:
InvalidCartException
-
beforePlaceOrder
void beforePlaceOrder(CommerceCheckoutParameter parameter) throws InvalidCartException
Executed before the place order- Parameters:
parameter
- object containing all the information for checkout- Throws:
InvalidCartException
-
beforeSubmitOrder
void beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
Executed before the submit order- Parameters:
parameter
- object containing all the information for checkoutresult
- object containing the order model- Throws:
InvalidCartException
-
-