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

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

    • attachment

      protected String attachment
    • cdnEnabled

      protected Boolean cdnEnabled
    • cdnURL

      protected String cdnURL
    • contentType

      protected String contentType
    • customFields

      protected CustomField[] customFields
    • displayDate

      protected Date displayDate
    • expirationDate

      protected Date expirationDate
    • externalReferenceCode

      protected String externalReferenceCode
    • fileEntryExternalReferenceCode

      protected String fileEntryExternalReferenceCode
    • fileEntryGroupExternalReferenceCode

      protected String fileEntryGroupExternalReferenceCode
    • fileEntryId

      protected Long fileEntryId
    • 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

    • Attachment

      public Attachment()
  • Method Details

    • toDTO

      public static Attachment toDTO(String json)
    • unsafeToDTO

      public static Attachment 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)
    • getCdnEnabled

      public Boolean getCdnEnabled()
    • setCdnEnabled

      public void setCdnEnabled(Boolean cdnEnabled)
    • setCdnEnabled

      public void setCdnEnabled(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> cdnEnabledUnsafeSupplier)
    • getCdnURL

      public String getCdnURL()
    • setCdnURL

      public void setCdnURL(String cdnURL)
    • setCdnURL

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

      public String getFileEntryExternalReferenceCode()
    • setFileEntryExternalReferenceCode

      public void setFileEntryExternalReferenceCode(String fileEntryExternalReferenceCode)
    • setFileEntryExternalReferenceCode

      public void setFileEntryExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> fileEntryExternalReferenceCodeUnsafeSupplier)
    • getFileEntryGroupExternalReferenceCode

      public String getFileEntryGroupExternalReferenceCode()
    • setFileEntryGroupExternalReferenceCode

      public void setFileEntryGroupExternalReferenceCode(String fileEntryGroupExternalReferenceCode)
    • setFileEntryGroupExternalReferenceCode

      public void setFileEntryGroupExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> fileEntryGroupExternalReferenceCodeUnsafeSupplier)
    • getFileEntryId

      @DecimalMin("0") public @DecimalMin("0") Long getFileEntryId()
    • setFileEntryId

      public void setFileEntryId(Long fileEntryId)
    • setFileEntryId

      public void setFileEntryId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> fileEntryIdUnsafeSupplier)
    • 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