Class 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 Detail

      • CartPendingPaymentFailedEvent

        public CartPendingPaymentFailedEvent()
      • CartPendingPaymentFailedEvent

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

      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object