Class ProductSpecification

java.lang.Object
com.liferay.headless.commerce.delivery.catalog.dto.v1_0.ProductSpecification
All Implemented Interfaces:
Serializable

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

    • id

      protected Long id
    • optionCategoryId

      protected Long optionCategoryId
    • priority

      protected Double priority
    • productId

      protected Long productId
    • specificationGroupKey

      protected String specificationGroupKey
    • specificationGroupTitle

      protected String specificationGroupTitle
    • specificationId

      protected Long specificationId
    • specificationKey

      protected String specificationKey
    • specificationPriority

      protected Double specificationPriority
    • specificationTitle

      protected String specificationTitle
    • value

      protected String value
    • xClassName

      public String xClassName
  • Constructor Details

    • ProductSpecification

      public ProductSpecification()
  • Method Details

    • toDTO

      public static ProductSpecification toDTO(String json)
    • unsafeToDTO

      public static ProductSpecification unsafeToDTO(String json)
    • getId

      @DecimalMin("0") public @DecimalMin("0") Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getOptionCategoryId

      @DecimalMin("0") public @DecimalMin("0") Long getOptionCategoryId()
    • setOptionCategoryId

      public void setOptionCategoryId(Long optionCategoryId)
    • setOptionCategoryId

      public void setOptionCategoryId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> optionCategoryIdUnsafeSupplier)
    • getPriority

      @DecimalMin("0") public @DecimalMin("0") Double getPriority()
    • setPriority

      public void setPriority(Double priority)
    • setPriority

      public void setPriority(com.liferay.petra.function.UnsafeSupplier<Double,Exception> priorityUnsafeSupplier)
    • getProductId

      @DecimalMin("0") public @DecimalMin("0") Long getProductId()
    • setProductId

      public void setProductId(Long productId)
    • setProductId

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

      public String getSpecificationGroupKey()
    • setSpecificationGroupKey

      public void setSpecificationGroupKey(String specificationGroupKey)
    • setSpecificationGroupKey

      public void setSpecificationGroupKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> specificationGroupKeyUnsafeSupplier)
    • getSpecificationGroupTitle

      public String getSpecificationGroupTitle()
    • setSpecificationGroupTitle

      public void setSpecificationGroupTitle(String specificationGroupTitle)
    • setSpecificationGroupTitle

      public void setSpecificationGroupTitle(com.liferay.petra.function.UnsafeSupplier<String,Exception> specificationGroupTitleUnsafeSupplier)
    • getSpecificationId

      @DecimalMin("0") public @DecimalMin("0") Long getSpecificationId()
    • setSpecificationId

      public void setSpecificationId(Long specificationId)
    • setSpecificationId

      public void setSpecificationId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> specificationIdUnsafeSupplier)
    • getSpecificationKey

      public String getSpecificationKey()
    • setSpecificationKey

      public void setSpecificationKey(String specificationKey)
    • setSpecificationKey

      public void setSpecificationKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> specificationKeyUnsafeSupplier)
    • getSpecificationPriority

      @DecimalMin("0") public @DecimalMin("0") Double getSpecificationPriority()
    • setSpecificationPriority

      public void setSpecificationPriority(Double specificationPriority)
    • setSpecificationPriority

      public void setSpecificationPriority(com.liferay.petra.function.UnsafeSupplier<Double,Exception> specificationPriorityUnsafeSupplier)
    • getSpecificationTitle

      public String getSpecificationTitle()
    • setSpecificationTitle

      public void setSpecificationTitle(String specificationTitle)
    • setSpecificationTitle

      public void setSpecificationTitle(com.liferay.petra.function.UnsafeSupplier<String,Exception> specificationTitleUnsafeSupplier)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • setValue

      public void setValue(com.liferay.petra.function.UnsafeSupplier<String,Exception> valueUnsafeSupplier)
    • 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