public class RatingEvent extends PredefinedEvent<RatingEvent>
MAX_NUM_ATTRIBUTES, MAX_STRING_LENGTH| Constructor and Description |
|---|
RatingEvent() |
| Modifier and Type | Method and Description |
|---|---|
RatingEvent |
putContentId(String contentId)
Put unique id for rated content.
|
RatingEvent |
putContentName(String contentName)
Put name for rated content added to cart.
|
RatingEvent |
putContentType(String contentType)
Put type of rated content.
|
RatingEvent |
putRating(int rating)
Put integer content rating.
|
toStringputCustomAttribute, putCustomAttributepublic RatingEvent putContentId(String contentId)
contentId - unique id for rated content, not null, no more than AnswersEvent.MAX_STRING_LENGTH charspublic RatingEvent putContentName(String contentName)
contentName - name for rated content, not null, no more than AnswersEvent.MAX_STRING_LENGTH charspublic RatingEvent putContentType(String contentType)
contentType - type of rated content, not null, no more than AnswersEvent.MAX_STRING_LENGTH charspublic RatingEvent putRating(int rating)
rating - content rating