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:
  • Constructor Details

    • CartPendingPaymentFailedEvent

      public CartPendingPaymentFailedEvent()
    • CartPendingPaymentFailedEvent

      public CartPendingPaymentFailedEvent(String cartId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
  • Method Details

    • getCartId

      public String getCartId()
      The Cart.getId() in which one or more of its pending payments failed.
    • getContextInfo

      @Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      The ContextInfo derived from the original request containing tenant and sandbox info.
      Returns:
      The ContextInfo derived from the original request
    • setCartId

      public void setCartId(String cartId)
      The Cart.getId() in which one or more of its pending payments failed.
    • setContextInfo

      public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      The ContextInfo derived from the original request containing tenant and sandbox info.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object