|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CheckoutEventHandler
This interface is implemented by services who wish to be notified of events occuring during the checkout process so that an additional action can be taken before or after the checkout.
Method Summary | |
---|---|
void |
postCheckout(ShoppingCart shoppingCart,
OrderPayment orderPayment,
Order completedOrder)
This event occurs after a checkout process has completed. |
void |
preCheckout(ShoppingCart shoppingCart,
OrderPayment orderPayment)
This event occurs before any action is taken as part of the checkout process. |
void |
preCheckoutOrderPersist(ShoppingCart shoppingCart,
OrderPayment orderPayment,
Order completedOrder)
This event occurs after a checkout has been processed but before the order has been persisted. |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
void postCheckout(ShoppingCart shoppingCart, OrderPayment orderPayment, Order completedOrder)
shoppingCart
- the shopping cart being checked outorderPayment
- information about the method of paymentcompletedOrder
- the order object resulting from the checkoutvoid preCheckout(ShoppingCart shoppingCart, OrderPayment orderPayment)
shoppingCart
- the shopping cart being checked outorderPayment
- information about the method of paymentvoid preCheckoutOrderPersist(ShoppingCart shoppingCart, OrderPayment orderPayment, Order completedOrder)
shoppingCart
- the shopping cart being checked outorderPayment
- information about the method of paymentcompletedOrder
- the order object resulting from the checkout
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |