java.lang.Object
com.broadleafcommerce.recommendationengine.service.messaging.domain.PurchaseEvent
All Implemented Interfaces:
Serializable

public class PurchaseEvent extends Object implements Serializable
A message event after a purchase has been made.
See Also:
  • Field Details

  • Constructor Details

    • PurchaseEvent

      public PurchaseEvent()
    • PurchaseEvent

      public PurchaseEvent(Map<String,OrderLink> links, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
  • Method Details

    • getLinks

      public Map<String,OrderLink> getLinks()
      The links that can be used to read an additional data for the event if needed.
    • 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
    • setLinks

      public void setLinks(Map<String,OrderLink> links)
      The links that can be used to read an additional data for the event if needed.
    • 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