public class ZaiusProductEvent extends ZaiusEvent
There's a create method for each type of event. Any required fields should be passed in through a create method.
PLATFORM_ID
Modifier and Type | Method and Description |
---|---|
static ZaiusProductEvent |
createAddToCart(java.lang.String productId,
int quantity)
Create a product add to cart event.
|
static ZaiusProductEvent |
createDetail(java.lang.String productId)
Create a product detail view event.
|
static ZaiusProductEvent |
createRemoveFromCart(java.lang.String productId,
int quantity)
Create a product remove from cart event.
|
action, appID, customerId, mobileSdkVersion, platform, putField, timestamp, vuid
public static ZaiusProductEvent createAddToCart(java.lang.String productId, int quantity)
productId
- product ID of the product added to cartquantity
- quantity added to cartpublic static ZaiusProductEvent createDetail(java.lang.String productId)
productId
- product ID of the product viewedpublic static ZaiusProductEvent createRemoveFromCart(java.lang.String productId, int quantity)
productId
- product ID of the product removed from cartquantity
- quantity removed from cart