Class PurchaseEvent

java.lang.Object
com.loop54.model.request.parameters.Event
com.loop54.model.request.parameters.PurchaseEvent

public class PurchaseEvent extends Event
Event for when a user has purchased a product.
  • Field Details

    • orderId

      public String orderId
      An identifier of the purchase order. Optional.
    • revenue

      public Double revenue
      How much revenue the purchase may have resulted in. Optional.
    • quantity

      public Integer quantity
      How many items of the entity that has been purchased. Optional.
  • Constructor Details

    • PurchaseEvent

      public PurchaseEvent(Entity entity)
      Parameters:
      entity - The entity that the user has purchased.