Class ExternalPaymentTransactionCartFinalizationEvent

java.lang.Object
com.broadleafcommerce.cartoperation.service.messaging.finalizecart.ExternalPaymentTransactionCartFinalizationEvent
All Implemented Interfaces:
Serializable

public class ExternalPaymentTransactionCartFinalizationEvent extends Object implements 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 Details

    • ExternalPaymentTransactionCartFinalizationEvent

      public ExternalPaymentTransactionCartFinalizationEvent()
    • ExternalPaymentTransactionCartFinalizationEvent

      public ExternalPaymentTransactionCartFinalizationEvent(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Map<String,Object> additionalAttributes)
  • Method Details

    • getCartId

      public String 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()
      The ContextInfo derived from the original request containing tenant and sandbox info.
      Returns:
      The ContextInfo derived from the original request
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      A map of additional attributes that provides flexibility for a more extensive usage of this event.
    • setCartId

      public void setCartId(String cartId)
      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)
      The ContextInfo derived from the original request containing tenant and sandbox info.
      Parameters:
      contextInfo - The ContextInfo derived from the original request
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      A map of additional attributes that provides flexibility for a more extensive usage of this event.
    • 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