Package com.algolia.model.insights
Class ObjectData
java.lang.Object
com.algolia.model.insights.ObjectData
ObjectData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet discountgetPrice()Get priceThe quantity of a product that has been purchased or added to the cart.inthashCode()setDiscount(Discount discount) setQuantity(Integer quantity) toString()
-
Constructor Details
-
ObjectData
public ObjectData()
-
-
Method Details
-
setPrice
-
getPrice
Get price -
setQuantity
-
getQuantity
The quantity of a product that has been purchased or added to the cart. 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
-