Class ExternalPaymentTransactionCartFinalizationEvent
java.lang.Object
com.broadleafcommerce.cartoperation.service.messaging.finalizecart.ExternalPaymentTransactionCartFinalizationEvent
- All Implemented Interfaces:
Serializable
Message payload object used trigger the finalization of a cart after the cart's payments have
been finalized.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
ConstructorDescriptionExternalPaymentTransactionCartFinalizationEvent
(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Map<String, Object> additionalAttributes) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A map of additional attributes that provides flexibility for a more extensive usage of this event.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) A map of additional attributes that provides flexibility for a more extensive usage of this event.void
The cart that is being processed as part of a checkout attemptvoid
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.toString()
-
Constructor Details
-
ExternalPaymentTransactionCartFinalizationEvent
public ExternalPaymentTransactionCartFinalizationEvent() -
ExternalPaymentTransactionCartFinalizationEvent
-
-
Method Details
-
getCartId
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
-
getContextInfo
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
-
getAdditionalAttributes
A map of additional attributes that provides flexibility for a more extensive usage of this event. -
setCartId
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
-
setContextInfo
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.- Parameters:
contextInfo
- TheContextInfo
derived from the original request
-
setAdditionalAttributes
A map of additional attributes that provides flexibility for a more extensive usage of this event. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-