java.lang.Object
com.loop54.model.request.parameters.Event
Direct Known Subclasses:
AddToCartEvent, ClickEvent, CustomEvent, PurchaseEvent

public abstract class Event extends Object
Base event class. This represents a user interaction on a product (or as we call it, entity).
  • Field Details

    • CLICK

      public static final String CLICK
      The string value corresponding to the click-event
      See Also:
    • ADD_TO_CART

      public static final String ADD_TO_CART
      The string value corresponding to the addtocart-event
      See Also:
    • PURCHASE

      public static final String PURCHASE
      The string value corresponding to the purchase-event
      See Also:
    • type

      public final String type
      Type of the event.
    • entity

      public final Entity entity
      The entity that the user has interacted with.
  • Constructor Details