Class PurchaseEvent
java.lang.Object
com.broadleafcommerce.recommendationengine.service.messaging.domain.PurchaseEvent
- All Implemented Interfaces:
Serializable
A message event after a purchase has been made.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPurchaseEvent(Map<String, OrderLink> links, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.data.tracking.core.context.ContextInfoTheContextInfoderived from the original request containing tenant and sandbox info.getLinks()The links that can be used to read an additional data for the event if needed.inthashCode()voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfoderived from the original request containing tenant and sandbox info.voidThe links that can be used to read an additional data for the event if needed.toString()
-
Field Details
-
ORDER_LINK_KEY
The key for the link to read the Order by id.- See Also:
-
ORDER_FULFILLMENT_LINK_KEY
The key for the link to read the Order fulfillments by order id.- See Also:
-
-
Constructor Details
-
PurchaseEvent
public PurchaseEvent() -
PurchaseEvent
-
-
Method Details
-
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()TheContextInfoderived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfoderived from the original request
-
setLinks
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) TheContextInfoderived from the original request containing tenant and sandbox info. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-