Package com.algolia.model.insights
Class ObjectDataAfterSearch
java.lang.Object
com.algolia.model.insights.ObjectDataAfterSearch
ObjectDataAfterSearch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet discountgetPrice()Get priceThe quantity of the purchased or added-to-cart item.ID of the query that this specific record is attributable to.inthashCode()setDiscount(Discount discount) setQuantity(Integer quantity) setQueryID(String queryID) toString()
-
Constructor Details
-
ObjectDataAfterSearch
public ObjectDataAfterSearch()
-
-
Method Details
-
setQueryID
-
getQueryID
ID of the query that this specific record is attributable to. Used to track purchase events with multiple items originating from different searches. -
setPrice
-
getPrice
Get price -
setQuantity
-
getQuantity
The quantity of the purchased or added-to-cart item. The total value of a purchase is the sum of `quantity` multiplied with the `price` for each purchased item. -
setDiscount
-
getDiscount
Get discount -
equals
-
hashCode
public int hashCode() -
toString
-