Class ProductInteractionRecommendation

java.lang.Object
com.liferay.headless.commerce.machine.learning.dto.v1_0.ProductInteractionRecommendation
All Implemented Interfaces:
Serializable

@Generated("") public class ProductInteractionRecommendation extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • createDate

      protected Date createDate
    • jobId

      protected String jobId
    • productId

      protected Long productId
    • rank

      protected Integer rank
    • recommendedProductId

      protected Long recommendedProductId
    • score

      protected Float score
    • xClassName

      public String xClassName
  • Constructor Details

    • ProductInteractionRecommendation

      public ProductInteractionRecommendation()
  • Method Details

    • toDTO

      public static ProductInteractionRecommendation toDTO(String json)
    • unsafeToDTO

      public static ProductInteractionRecommendation unsafeToDTO(String json)
    • getCreateDate

      public Date getCreateDate()
    • setCreateDate

      public void setCreateDate(Date createDate)
    • setCreateDate

      public void setCreateDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> createDateUnsafeSupplier)
    • getJobId

      public String getJobId()
    • setJobId

      public void setJobId(String jobId)
    • setJobId

      public void setJobId(com.liferay.petra.function.UnsafeSupplier<String,Exception> jobIdUnsafeSupplier)
    • getProductId

      public Long getProductId()
    • setProductId

      public void setProductId(Long productId)
    • setProductId

      public void setProductId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> productIdUnsafeSupplier)
    • getRank

      public Integer getRank()
    • setRank

      public void setRank(Integer rank)
    • setRank

      public void setRank(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> rankUnsafeSupplier)
    • getRecommendedProductId

      public Long getRecommendedProductId()
    • setRecommendedProductId

      public void setRecommendedProductId(Long recommendedProductId)
    • setRecommendedProductId

      public void setRecommendedProductId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> recommendedProductIdUnsafeSupplier)
    • getScore

      @Valid public @Valid Float getScore()
    • setScore

      public void setScore(Float score)
    • setScore

      public void setScore(com.liferay.petra.function.UnsafeSupplier<Float,Exception> scoreUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object