public class ProductViewed
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
ProductViewed() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategoryId() |
java.lang.String |
getProductId() |
boolean |
isInCart() |
void |
setCategoryId(java.lang.String pCategoryId)
The Id of the product category that the product was viewed in.
|
void |
setInCart(boolean pInCart)
Boolean indicating if the product is in the user's cart
|
void |
setProductId(java.lang.String pProductId)
The id of the product that was viewed
|
public static final java.lang.String CLASS_VERSION
public void setCategoryId(java.lang.String pCategoryId)
pCategoryId - the id of the product category that the product
was viewed inpublic java.lang.String getCategoryId()
public void setInCart(boolean pInCart)
pInCart - boolean indicating if the product is in the
user's cartpublic boolean isInCart()
public void setProductId(java.lang.String pProductId)
pProductId - the id of the product that was viewedpublic java.lang.String getProductId()