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()
      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

      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