Class CartPendingPaymentFailedEvent
java.lang.Object
com.broadleafcommerce.cartoperation.service.messaging.finalizecart.CartPendingPaymentFailedEvent
- All Implemented Interfaces:
Serializable
A message event dispatched after one or more of a cart's payments failed.
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCartPendingPaymentFailedEvent(com.broadleafcommerce.cart.client.domain.CheckoutCart cart, Map<String, Object> additionalAttributes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAny extra properties needed for this eventcom.broadleafcommerce.cart.client.domain.CheckoutCartgetCart()The cart that is being processed as part of a checkout attemptcom.broadleafcommerce.data.tracking.core.context.ContextInfoTheContextInfoderived from the original request containing tenant and sandbox info.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Any extra properties needed for this eventvoidsetCart(com.broadleafcommerce.cart.client.domain.CheckoutCart cart) The cart that is being processed as part of a checkout attemptvoidvoidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfoderived from the original request containing tenant and sandbox info.toString()
-
Constructor Details
-
CartPendingPaymentFailedEvent
public CartPendingPaymentFailedEvent() -
CartPendingPaymentFailedEvent
-
-
Method Details
-
getCartId
-
setCartId
-
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
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()TheContextInfoderived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfoderived 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
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) TheContextInfoderived from the original request containing tenant and sandbox info. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-