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
ConstructorDescriptionCartPendingPaymentFailedEvent
(com.broadleafcommerce.cart.client.domain.CheckoutCart cart, Map<String, Object> additionalAttributes, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Any extra properties needed for this eventcom.broadleafcommerce.cart.client.domain.CheckoutCart
getCart()
The cart that is being processed as part of a checkout attemptcom.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info.int
hashCode()
void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Any extra properties needed for this eventvoid
setCart
(com.broadleafcommerce.cart.client.domain.CheckoutCart cart) The cart that is being processed as part of a checkout attemptvoid
void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived 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()TheContextInfo
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
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) TheContextInfo
derived from the original request containing tenant and sandbox info. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-