Package com.algolia.model.insights
Class PurchasedObjectIDsAfterSearch
java.lang.Object
com.algolia.model.insights.PurchasedObjectIDsAfterSearch
- All Implemented Interfaces:
EventsItems
Use this event to track when users make a purchase after a previous Algolia request. If you're
building your category pages with Algolia, you'll also use this event.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.insights.EventsItems
EventsItems.Deserializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddObjectData
(ObjectDataAfterSearch objectDataItem) addObjectIDs
(String objectIDsItem) boolean
If you include pricing information in the `objectData` parameter, you must also specify the currency as ISO-4217 currency code, such as USD or EUR.Can contain up to 64 ASCII characters.Get eventSubtypeGet eventTypegetIndex()
Name of the Algolia index.Extra information about the records involved in the event—for example, to add price and quantities of purchased products.List of object identifiers for items of an Algolia index.Unique identifier for a search query.Time of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time).Anonymous or pseudonymous user identifier.int
hashCode()
setCurrency
(String currency) setEventName
(String eventName) setEventSubtype
(PurchaseEvent eventSubtype) setEventType
(ConversionEvent eventType) setObjectData
(List<ObjectDataAfterSearch> objectData) setObjectIDs
(List<String> objectIDs) setQueryID
(String queryID) setTimestamp
(Long timestamp) setUserToken
(String userToken) toString()
-
Constructor Details
-
PurchasedObjectIDsAfterSearch
public PurchasedObjectIDsAfterSearch()
-
-
Method Details
-
setEventName
-
getEventName
Can contain up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment's [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework. -
setEventType
-
getEventType
Get eventType -
setEventSubtype
-
getEventSubtype
Get eventSubtype -
setIndex
-
getIndex
Name of the Algolia index. -
setQueryID
-
getQueryID
Unique identifier for a search query. The query ID is required for events related to search or browse requests. If you add `clickAnalytics: true` as a search request parameter, the query ID is included in the API response. -
setObjectIDs
-
addObjectIDs
-
getObjectIDs
List of object identifiers for items of an Algolia index. -
setObjectData
-
addObjectData
-
getObjectData
Extra information about the records involved in the event—for example, to add price and quantities of purchased products. If provided, must be the same length as `objectIDs`. -
setCurrency
-
getCurrency
If you include pricing information in the `objectData` parameter, you must also specify the currency as ISO-4217 currency code, such as USD or EUR. -
setUserToken
-
getUserToken
Anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens. -
setTimestamp
-
getTimestamp
Time of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp. -
equals
-
hashCode
public int hashCode() -
toString
-