-
- All Implemented Interfaces:
public class PromotionEvent extends ApplicationEvent
PromotionEvent Schema model object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PromotionEvent.Builder
-
Method Summary
Modifier and Type Method Description String
getPromotionId()
A unique id for the promotion String
getVendorPromotionId()
The promotion id received from vendor String
getEntityId()
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 PromotionActionValue
getDisplay()
The type of user engagement with the promotion PromotionTriggerValue
getTrigger()
The moment or scenario which triggered the promotion event PromotionVendorValue
getVendor()
The vendor from which promotion details were received. Object
getSource()
The source which generated the promotion based on the moment like search service, prediction service etc. String
getSourceId()
The id of promotion source. EventType
getEventType()
Get EventType. static PromotionEvent.Builder
builder()
-
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()
-
-
-
-