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

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

    • actions

      protected Map<String,Map<String,String>> actions
    • active

      protected Boolean active
    • createDate

      protected Date createDate
    • description

      protected Map<String,String> description
    • displayDate

      protected Date displayDate
    • expirationDate

      protected Date expirationDate
    • externalReferenceCode

      protected String externalReferenceCode
    • id

      protected Long id
    • label

      protected Map<String,String> label
    • name

      @NotEmpty protected @NotEmpty String name
    • neverExpire

      protected Boolean neverExpire
    • priority

      protected Double priority
    • termOrderType

      protected TermOrderType[] termOrderType
    • type

      @NotEmpty protected @NotEmpty String type
    • typeLocalized

      protected String typeLocalized
    • typeSettings

      protected String typeSettings
    • workflowStatusInfo

      protected Status workflowStatusInfo
    • xClassName

      public String xClassName
  • Constructor Details

    • Term

      public Term()
  • Method Details

    • toDTO

      public static Term toDTO(String json)
    • unsafeToDTO

      public static Term unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getActive

      public Boolean getActive()
    • setActive

      public void setActive(Boolean active)
    • setActive

      public void setActive(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> activeUnsafeSupplier)
    • getCreateDate

      public Date getCreateDate()
    • setCreateDate

      public void setCreateDate(Date createDate)
    • setCreateDate

      public void setCreateDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> createDateUnsafeSupplier)
    • getDescription

      @Valid public @Valid Map<String,String> getDescription()
    • setDescription

      public void setDescription(Map<String,String> description)
    • setDescription

      public void setDescription(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> descriptionUnsafeSupplier)
    • getDisplayDate

      public Date getDisplayDate()
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
    • setDisplayDate

      public void setDisplayDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> displayDateUnsafeSupplier)
    • getExpirationDate

      public Date getExpirationDate()
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
    • setExpirationDate

      public void setExpirationDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> expirationDateUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

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

      @Valid public @Valid Map<String,String> getLabel()
    • setLabel

      public void setLabel(Map<String,String> label)
    • setLabel

      public void setLabel(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> labelUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

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

      public Boolean getNeverExpire()
    • setNeverExpire

      public void setNeverExpire(Boolean neverExpire)
    • setNeverExpire

      public void setNeverExpire(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> neverExpireUnsafeSupplier)
    • getPriority

      public Double getPriority()
    • setPriority

      public void setPriority(Double priority)
    • setPriority

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

      @Valid public @Valid TermOrderType[] getTermOrderType()
    • setTermOrderType

      public void setTermOrderType(TermOrderType[] termOrderType)
    • setTermOrderType

      public void setTermOrderType(com.liferay.petra.function.UnsafeSupplier<TermOrderType[],Exception> termOrderTypeUnsafeSupplier)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<String,Exception> typeUnsafeSupplier)
    • getTypeLocalized

      public String getTypeLocalized()
    • setTypeLocalized

      public void setTypeLocalized(String typeLocalized)
    • setTypeLocalized

      public void setTypeLocalized(com.liferay.petra.function.UnsafeSupplier<String,Exception> typeLocalizedUnsafeSupplier)
    • getTypeSettings

      public String getTypeSettings()
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
    • setTypeSettings

      public void setTypeSettings(com.liferay.petra.function.UnsafeSupplier<String,Exception> typeSettingsUnsafeSupplier)
    • getWorkflowStatusInfo

      @Valid public @Valid Status getWorkflowStatusInfo()
    • setWorkflowStatusInfo

      public void setWorkflowStatusInfo(Status workflowStatusInfo)
    • setWorkflowStatusInfo

      public void setWorkflowStatusInfo(com.liferay.petra.function.UnsafeSupplier<Status,Exception> workflowStatusInfoUnsafeSupplier)
    • 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