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

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

    • key

      protected String key
    • optionKey

      protected String optionKey
    • values

      protected Map[] values
    • xClassName

      public String xClassName
  • Constructor Details

    • ProductOption

      public ProductOption()
  • Method Details

    • toDTO

      public static ProductOption toDTO(String json)
    • unsafeToDTO

      public static ProductOption unsafeToDTO(String json)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • setKey

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

      public String getOptionKey()
    • setOptionKey

      public void setOptionKey(String optionKey)
    • setOptionKey

      public void setOptionKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> optionKeyUnsafeSupplier)
    • getValues

      @Valid public @Valid Map[] getValues()
    • setValues

      public void setValues(Map[] values)
    • setValues

      public void setValues(com.liferay.petra.function.UnsafeSupplier<Map[],Exception> valuesUnsafeSupplier)
    • 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