Package com.algolia.model.insights
Class AddedToCartObjectIDsAfterSearch
java.lang.Object
com.algolia.model.insights.AddedToCartObjectIDsAfterSearch
- All Implemented Interfaces:
EventsItems
Use this event to track when users add items to their shopping cart 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) booleanIdentifier for authenticated users.Three-letter [currency code](https://www.iso.org/iso-4217-currency-codes.html).Event name, up to 64 ASCII characters.Get eventSubtypeGet eventTypegetIndex()Index name to which the event's items belong.Extra information about the records involved in a purchase or add-to-cart events.Object IDs of the records that are part of the event.Unique identifier for a search query.Timestamp of the event, measured in milliseconds since the Unix epoch.Anonymous or pseudonymous user identifier.getValue()Get valueinthashCode()setAuthenticatedUserToken(String authenticatedUserToken) setCurrency(String currency) setEventName(String eventName) setEventSubtype(AddToCartEvent eventSubtype) setEventType(ConversionEvent eventType) setObjectData(List<ObjectDataAfterSearch> objectData) setObjectIDs(List<String> objectIDs) setQueryID(String queryID) setTimestamp(Long timestamp) setUserToken(String userToken) toString()
-
Constructor Details
-
AddedToCartObjectIDsAfterSearch
public AddedToCartObjectIDsAfterSearch()
-
-
Method Details
-
setEventName
-
getEventName
Event name, 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
Index name to which the event's items belong. -
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
Object IDs of the records that are part of the event. -
setUserToken
-
getUserToken
Anonymous or pseudonymous user identifier. Don't use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/). -
setAuthenticatedUserToken
-
getAuthenticatedUserToken
Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don't use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/). -
setCurrency
-
getCurrency
Three-letter [currency code](https://www.iso.org/iso-4217-currency-codes.html). -
setObjectData
-
addObjectData
-
getObjectData
Extra information about the records involved in a purchase or add-to-cart events. If provided, it must be the same length as `objectIDs`. -
setTimestamp
-
getTimestamp
Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the time it receives an event as its timestamp. -
setValue
-
getValue
Get value -
equals
-
hashCode
public int hashCode() -
toString
-