Class FrequentPatternRecommendation

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

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

    • antecedentIds

      protected Long[] antecedentIds
    • antecedentIdsLength

      protected Long antecedentIdsLength
    • createDate

      protected Date createDate
    • jobId

      protected String jobId
    • recommendedProductId

      protected Long recommendedProductId
    • score

      protected Float score
    • xClassName

      public String xClassName
  • Constructor Details

    • FrequentPatternRecommendation

      public FrequentPatternRecommendation()
  • Method Details

    • toDTO

      public static FrequentPatternRecommendation toDTO(String json)
    • unsafeToDTO

      public static FrequentPatternRecommendation unsafeToDTO(String json)
    • getAntecedentIds

      public Long[] getAntecedentIds()
    • setAntecedentIds

      public void setAntecedentIds(Long[] antecedentIds)
    • setAntecedentIds

      public void setAntecedentIds(com.liferay.petra.function.UnsafeSupplier<Long[],Exception> antecedentIdsUnsafeSupplier)
    • getAntecedentIdsLength

      public Long getAntecedentIdsLength()
    • setAntecedentIdsLength

      public void setAntecedentIdsLength(Long antecedentIdsLength)
    • setAntecedentIdsLength

      public void setAntecedentIdsLength(com.liferay.petra.function.UnsafeSupplier<Long,Exception> antecedentIdsLengthUnsafeSupplier)
    • 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)
    • 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