java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v2_0.Category
All Implemented Interfaces:
Serializable

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

    • id

      protected Long id
    • name

      protected String name
    • path

      protected String path
    • vocabulary

      protected String vocabulary
    • xClassName

      public String xClassName
  • Constructor Details

    • Category

      public Category()
  • Method Details

    • toDTO

      public static Category toDTO(String json)
    • unsafeToDTO

      public static Category 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)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

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

      public String getPath()
    • setPath

      public void setPath(String path)
    • setPath

      public void setPath(com.liferay.petra.function.UnsafeSupplier<String,Exception> pathUnsafeSupplier)
    • getVocabulary

      public String getVocabulary()
    • setVocabulary

      public void setVocabulary(String vocabulary)
    • setVocabulary

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