Class CheckoutRollbackEvent
java.lang.Object
com.broadleafcommerce.pricing.service.messaging.rollback.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:
- karanjariwala
- See Also:
-
Constructor Summary
Constructors -
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 failureType indicating the cause of rollbackvoid
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
setFailureType
(String failureType) The failureType indicating the cause of rollback
-
Constructor Details
-
CheckoutRollbackEvent
public CheckoutRollbackEvent()
-
-
Method Details
-
getCartId
The id of the cart that was submitted for checkout -
getFailureType
The failureType indicating the cause of rollback- Returns:
- The failureType indicating the cause of rollback
-
getContextInfo
public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()TheContextInfo
derived from the original request containing tenant and sandbox info. -
setCartId
The id of the cart that was submitted for checkout -
setFailureType
The failureType indicating the cause of rollback -
setContextInfo
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.
-