Interface CommercePlaceOrderMethodHook
- All Known Implementing Classes:
AssistedServicePlaceOrderMethodHook,B2BApprovalBusinessProcessCreationPlaceOrderMethodHook,ChineseCommercePlaceOrderMethodHook,CommercePlaceQuoteOrderMethodHook,CouponRedemptionMethodHook,CustomerCouponCommercePlaceOrderMethodHook,DefaultBundleCommercePlaceOrderMethodHook,DefaultFlashBuyCommercePlaceOrderMethodHook,DefaultSubscriptionCommercePlaceOrderMethodHook,DefaultVoucherRedemptionPlaceOrderMethodHook,DiscountValueCleanupMethodHook,GiveAwayMultiCodeCouponGenerationHook,ProductConfigurationPlaceOrderHookImpl,ProfilePlaceOrderMethodHook,WebServicesPlaceOrderHook,WebServicesPlaceOrderHook
public interface CommercePlaceOrderMethodHook
Hook interface for PlaceOrder
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult orderModel) Executed after the place ordervoidbeforePlaceOrder(CommerceCheckoutParameter parameter) Executed before the place ordervoidbeforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) Executed before the submit order
-
Method Details
-
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
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
-