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

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

    • id

      protected Long id
    • priority

      protected Double priority
    • productExternalReferenceCode

      protected String productExternalReferenceCode
    • productId

      @NotNull protected @NotNull Long productId
    • type

      @NotEmpty protected @NotEmpty String type
    • xClassName

      public String xClassName
  • Constructor Details

    • RelatedProduct

      public RelatedProduct()
  • Method Details

    • toDTO

      public static RelatedProduct toDTO(String json)
    • unsafeToDTO

      public static RelatedProduct 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)
    • getPriority

      public Double getPriority()
    • setPriority

      public void setPriority(Double priority)
    • setPriority

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

      public String getProductExternalReferenceCode()
    • setProductExternalReferenceCode

      public void setProductExternalReferenceCode(String productExternalReferenceCode)
    • setProductExternalReferenceCode

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

      public String getType()
    • setType

      public void setType(String type)
    • setType

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