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

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

    • attachment

      protected String attachment
    • contentType

      protected String contentType
    • customFields

      protected CustomField[] customFields
    • displayDate

      protected Date displayDate
    • expirationDate

      protected Date expirationDate
    • externalReferenceCode

      protected String externalReferenceCode
    • galleryEnabled

      protected Boolean galleryEnabled
    • id

      protected Long id
    • neverExpire

      protected Boolean neverExpire
    • options

      protected Map<String,String> options
    • priority

      protected Double priority
    • src

      protected String src
    • tags

      protected String[] tags
    • title

      protected Map<String,String> title
    • type

      protected Integer type
    • xClassName

      public String xClassName
  • Constructor Details

    • AttachmentBase64

      public AttachmentBase64()
  • Method Details

    • toDTO

      public static AttachmentBase64 toDTO(String json)
    • unsafeToDTO

      public static AttachmentBase64 unsafeToDTO(String json)
    • getAttachment

      public String getAttachment()
    • setAttachment

      public void setAttachment(String attachment)
    • setAttachment

      public void setAttachment(com.liferay.petra.function.UnsafeSupplier<String,Exception> attachmentUnsafeSupplier)
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)
    • setContentType

      public void setContentType(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentTypeUnsafeSupplier)
    • getCustomFields

      @Valid public @Valid CustomField[] getCustomFields()
    • setCustomFields

      public void setCustomFields(CustomField[] customFields)
    • setCustomFields

      public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[],Exception> customFieldsUnsafeSupplier)
    • 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)
    • getGalleryEnabled

      public Boolean getGalleryEnabled()
    • setGalleryEnabled

      public void setGalleryEnabled(Boolean galleryEnabled)
    • setGalleryEnabled

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

      public Boolean getNeverExpire()
    • setNeverExpire

      public void setNeverExpire(Boolean neverExpire)
    • setNeverExpire

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

      @Valid public @Valid Map<String,String> getOptions()
    • setOptions

      public void setOptions(Map<String,String> options)
    • setOptions

      public void setOptions(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> optionsUnsafeSupplier)
    • getPriority

      public Double getPriority()
    • setPriority

      public void setPriority(Double priority)
    • setPriority

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

      public String getSrc()
    • setSrc

      public void setSrc(String src)
    • setSrc

      public void setSrc(com.liferay.petra.function.UnsafeSupplier<String,Exception> srcUnsafeSupplier)
    • getTags

      public String[] getTags()
    • setTags

      public void setTags(String[] tags)
    • setTags

      public void setTags(com.liferay.petra.function.UnsafeSupplier<String[],Exception> tagsUnsafeSupplier)
    • getTitle

      @Valid public @Valid Map<String,String> getTitle()
    • setTitle

      public void setTitle(Map<String,String> title)
    • setTitle

      public void setTitle(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> titleUnsafeSupplier)
    • getType

      public Integer getType()
    • setType

      public void setType(Integer type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<Integer,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