-
- All Implemented Interfaces:
public class PromotionEvent extends ApplicationEventPromotionEvent Schema model object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPromotionEvent.Builder
-
Method Summary
Modifier and Type Method Description StringgetPromotionId()A unique id for the promotion StringgetVendorPromotionId()The promotion id received from vendor StringgetEntityId()The entity where promotion was displayed Array<GroupDetailItem>getCategoryDetails()List of offer category ids and names Array<GroupDetailItem>getBrandDetails()List of offer category ids and names PromotionActionValuegetDisplay()The type of user engagement with the promotion PromotionTriggerValuegetTrigger()The moment or scenario which triggered the promotion event PromotionVendorValuegetVendor()The vendor from which promotion details were received. ObjectgetSource()The source which generated the promotion based on the moment like search service, prediction service etc. StringgetSourceId()The id of promotion source. EventTypegetEventType()Get EventType. static PromotionEvent.Builderbuilder()-
Methods inherited from class com.telenav.sdk.datacollector.model.event.ApplicationEvent
getEventData -
Methods inherited from class com.telenav.sdk.datacollector.model.event.Event
getFormatType, getLogContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getPromotionId
String getPromotionId()
A unique id for the promotion
-
getVendorPromotionId
String getVendorPromotionId()
The promotion id received from vendor
-
getEntityId
String getEntityId()
The entity where promotion was displayed
-
getCategoryDetails
Array<GroupDetailItem> getCategoryDetails()
List of offer category ids and names
-
getBrandDetails
Array<GroupDetailItem> getBrandDetails()
List of offer category ids and names
-
getDisplay
PromotionActionValue getDisplay()
The type of user engagement with the promotion
-
getTrigger
PromotionTriggerValue getTrigger()
The moment or scenario which triggered the promotion event
-
getVendor
PromotionVendorValue getVendor()
The vendor from which promotion details were received.
-
getSource
Object getSource()
The source which generated the promotion based on the moment like search service, prediction service etc.
-
getSourceId
String getSourceId()
The id of promotion source. This is the reference_id in the search/prediction response.
-
getEventType
EventType getEventType()
Get EventType.
-
builder
static PromotionEvent.Builder builder()
-
-
-
-