Class CartPendingPaymentFailedEvent
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.service.messaging.finalizecart.CartPendingPaymentFailedEvent
-
- All Implemented Interfaces:
Serializable
public class CartPendingPaymentFailedEvent extends Object implements Serializable
A message event dispatched after one or more of a cart's payments failed.- Author:
- Sunny Yu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartPendingPaymentFailedEvent()CartPendingPaymentFailedEvent(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetCartId()TheCart.getId()in which one or more of its pending payments failed.com.broadleafcommerce.data.tracking.core.context.ContextInfogetContextInfo()TheContextInfoderived from the original request containing tenant and sandbox info.inthashCode()voidsetCartId(String cartId)TheCart.getId()in which one or more of its pending payments failed.voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)TheContextInfoderived from the original request containing tenant and sandbox info.StringtoString()
-
-
-
Constructor Detail
-
CartPendingPaymentFailedEvent
public CartPendingPaymentFailedEvent()
-
CartPendingPaymentFailedEvent
public CartPendingPaymentFailedEvent(String cartId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
-
Method Detail
-
getCartId
public String getCartId()
TheCart.getId()in which one or more of its pending payments failed.
-
getContextInfo
@Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
TheContextInfoderived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfoderived from the original request
-
setCartId
public void setCartId(String cartId)
TheCart.getId()in which one or more of its pending payments failed.
-
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)TheContextInfoderived from the original request containing tenant and sandbox info.
-
canEqual
protected boolean canEqual(Object other)
-
-