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

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

    • id

      protected Long id
    • infoMessage

      protected String infoMessage
    • key

      protected String key
    • name

      protected String name
    • preselected

      protected Boolean preselected
    • price

      protected String price
    • priceType

      protected String priceType
    • priority

      protected Double priority
    • productOptionId

      protected Long productOptionId
    • quantity

      protected String quantity
    • relativePriceFormatted

      protected String relativePriceFormatted
    • selectable

      protected Boolean selectable
    • skuId

      protected Long skuId
    • totalPrice

      protected String totalPrice
    • unitOfMeasureKey

      protected String unitOfMeasureKey
    • visible

      protected Boolean visible
    • xClassName

      public String xClassName
  • Constructor Details

    • ProductOptionValue

      public ProductOptionValue()
  • Method Details

    • toDTO

      public static ProductOptionValue toDTO(String json)
    • unsafeToDTO

      public static ProductOptionValue 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)
    • getInfoMessage

      public String getInfoMessage()
    • setInfoMessage

      public void setInfoMessage(String infoMessage)
    • setInfoMessage

      public void setInfoMessage(com.liferay.petra.function.UnsafeSupplier<String,Exception> infoMessageUnsafeSupplier)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • setKey

      public void setKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> keyUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • getPreselected

      public Boolean getPreselected()
    • setPreselected

      public void setPreselected(Boolean preselected)
    • setPreselected

      public void setPreselected(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> preselectedUnsafeSupplier)
    • getPrice

      public String getPrice()
    • setPrice

      public void setPrice(String price)
    • setPrice

      public void setPrice(com.liferay.petra.function.UnsafeSupplier<String,Exception> priceUnsafeSupplier)
    • getPriceType

      public String getPriceType()
    • setPriceType

      public void setPriceType(String priceType)
    • setPriceType

      public void setPriceType(com.liferay.petra.function.UnsafeSupplier<String,Exception> priceTypeUnsafeSupplier)
    • getPriority

      public Double getPriority()
    • setPriority

      public void setPriority(Double priority)
    • setPriority

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

      @DecimalMin("0") public @DecimalMin("0") Long getProductOptionId()
    • setProductOptionId

      public void setProductOptionId(Long productOptionId)
    • setProductOptionId

      public void setProductOptionId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> productOptionIdUnsafeSupplier)
    • getQuantity

      public String getQuantity()
    • setQuantity

      public void setQuantity(String quantity)
    • setQuantity

      public void setQuantity(com.liferay.petra.function.UnsafeSupplier<String,Exception> quantityUnsafeSupplier)
    • getRelativePriceFormatted

      public String getRelativePriceFormatted()
    • setRelativePriceFormatted

      public void setRelativePriceFormatted(String relativePriceFormatted)
    • setRelativePriceFormatted

      public void setRelativePriceFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> relativePriceFormattedUnsafeSupplier)
    • getSelectable

      public Boolean getSelectable()
    • setSelectable

      public void setSelectable(Boolean selectable)
    • setSelectable

      public void setSelectable(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> selectableUnsafeSupplier)
    • getSkuId

      public Long getSkuId()
    • setSkuId

      public void setSkuId(Long skuId)
    • setSkuId

      public void setSkuId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> skuIdUnsafeSupplier)
    • getTotalPrice

      public String getTotalPrice()
    • setTotalPrice

      public void setTotalPrice(String totalPrice)
    • setTotalPrice

      public void setTotalPrice(com.liferay.petra.function.UnsafeSupplier<String,Exception> totalPriceUnsafeSupplier)
    • getUnitOfMeasureKey

      public String getUnitOfMeasureKey()
    • setUnitOfMeasureKey

      public void setUnitOfMeasureKey(String unitOfMeasureKey)
    • setUnitOfMeasureKey

      public void setUnitOfMeasureKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> unitOfMeasureKeyUnsafeSupplier)
    • getVisible

      public Boolean getVisible()
    • setVisible

      public void setVisible(Boolean visible)
    • setVisible

      public void setVisible(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> visibleUnsafeSupplier)
    • 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