public class CheckoutRollbackEvent extends Object implements Serializable
CheckoutWorkflow
encounters an unrecoverable error &
must roll back the work of its CheckoutWorkflowActivities
. This
event should primarily be consumed in this service as a means of triggering each activity's
CheckoutWorkflowActivity#rollback(Cart, String)
method.Constructor and Description |
---|
CheckoutRollbackEvent() |
Modifier and Type | Method and Description |
---|---|
String |
getCartId()
The id of the cart that was submitted for checkout
|
com.broadleafcommerce.data.tracking.core.context.ContextInfo |
getContextInfo()
The
ContextInfo derived from the original request containing tenant and sandbox info. |
String |
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
|
void |
setCartId(String cartId)
The id of the cart that was submitted for checkout
|
void |
setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
The
ContextInfo 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
|
public String getCartId()
public String getRequestId()
public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
ContextInfo
derived from the original request containing tenant and sandbox info.ContextInfo
derived from the original requestpublic void setCartId(String cartId)
public void setRequestId(String requestId)
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
ContextInfo
derived from the original request containing tenant and sandbox info.Copyright © 2021. All rights reserved.