public class PurchaseEvent extends Event
| Modifier and Type | Field and Description | 
|---|---|
java.lang.String | 
orderId
An identifier of the purchase order. 
 | 
java.lang.Integer | 
quantity
How many items of the entity that has been purchased. 
 | 
java.lang.Double | 
revenue
How much revenue the purchase may have resulted in. 
 | 
| Constructor and Description | 
|---|
PurchaseEvent(Entity entity)  | 
public java.lang.String orderId
public java.lang.Double revenue
public java.lang.Integer quantity
public PurchaseEvent(Entity entity)
entity - The entity that the user has purchased.