Class ObjectData

java.lang.Object
com.algolia.model.insights.ObjectData

public class ObjectData extends Object
ObjectData
  • Constructor Details

    • ObjectData

      public ObjectData()
  • Method Details

    • setPrice

      public ObjectData setPrice(Price price)
    • getPrice

      @Nullable public Price getPrice()
      Get price
    • setQuantity

      public ObjectData setQuantity(Integer quantity)
    • getQuantity

      @Nullable public Integer getQuantity()
      Quantity of a product that has been purchased or added to the cart. The total purchase value is the sum of `quantity` multiplied with the `price` for each purchased item.
    • setDiscount

      public ObjectData setDiscount(Discount discount)
    • getDiscount

      @Nullable public Discount getDiscount()
      Get discount
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object