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(com.broadleafcommerce.cart.client.domain.CheckoutCart cart, Map<String,Object> additionalAttributes, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
  • Method Details

    • getCartId

      @Nullable public String getCartId()
    • setCartId

      @Nullable public void setCartId(String cartId)
    • getCart

      public com.broadleafcommerce.cart.client.domain.CheckoutCart getCart()
      The cart that is being processed as part of a checkout attempt
      Returns:
      The cart that is being processed as part of a checkout attempt
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Any extra properties needed for this event
      Returns:
      Any extra properties needed for this event
    • 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
    • setCart

      public void setCart(com.broadleafcommerce.cart.client.domain.CheckoutCart cart)
      The cart that is being processed as part of a checkout attempt
      Parameters:
      cart - The cart that is being processed as part of a checkout attempt
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Any extra properties needed for this event
      Parameters:
      additionalAttributes - Any extra properties needed for this event
    • 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