Class CheckoutRollbackEvent
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.messaging.reversals.CheckoutRollbackEvent
- All Implemented Interfaces:
Serializable
A message event dispatched when a checkout workflow encounters an unrecoverable error and must
roll back the work of its checkout workflow activities.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the cart that was submitted for checkoutcom.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info.The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled backvoid
The id of the cart that was submitted for checkoutvoid
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.void
setRequestId
(String requestId) The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled back
-
Constructor Details
-
CheckoutRollbackEvent
public CheckoutRollbackEvent()
-
-
Method Details
-
getCartId
The id of the cart that was submitted for checkout- Returns:
- The id of the cart that was submitted for checkout
-
getRequestId
The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled back- Returns:
- The id representing this request to checkout
-
getContextInfo
public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()TheContextInfo
derived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfo
derived from the original request
-
setCartId
The id of the cart that was submitted for checkout -
setRequestId
The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled back -
setContextInfo
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.
-