java.lang.Object
com.liferay.headless.commerce.delivery.cart.dto.v1_0.CartComment
All Implemented Interfaces:
Serializable

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

    • author

      protected String author
    • authorId

      protected Long authorId
    • authorPortraitURL

      protected String authorPortraitURL
    • content

      protected String content
    • externalReferenceCode

      protected String externalReferenceCode
    • id

      protected Long id
    • modifiedDate

      protected Date modifiedDate
    • orderId

      protected Long orderId
    • restricted

      protected Boolean restricted
    • xClassName

      public String xClassName
  • Constructor Details

    • CartComment

      public CartComment()
  • Method Details

    • toDTO

      public static CartComment toDTO(String json)
    • unsafeToDTO

      public static CartComment unsafeToDTO(String json)
    • getAuthor

      public String getAuthor()
    • setAuthor

      public void setAuthor(String author)
    • setAuthor

      public void setAuthor(com.liferay.petra.function.UnsafeSupplier<String,Exception> authorUnsafeSupplier)
    • getAuthorId

      public Long getAuthorId()
    • setAuthorId

      public void setAuthorId(Long authorId)
    • setAuthorId

      public void setAuthorId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> authorIdUnsafeSupplier)
    • getAuthorPortraitURL

      public String getAuthorPortraitURL()
    • setAuthorPortraitURL

      public void setAuthorPortraitURL(String authorPortraitURL)
    • setAuthorPortraitURL

      public void setAuthorPortraitURL(com.liferay.petra.function.UnsafeSupplier<String,Exception> authorPortraitURLUnsafeSupplier)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • setContent

      public void setContent(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getModifiedDate

      public Date getModifiedDate()
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
    • setModifiedDate

      public void setModifiedDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> modifiedDateUnsafeSupplier)
    • getOrderId

      public Long getOrderId()
    • setOrderId

      public void setOrderId(Long orderId)
    • setOrderId

      public void setOrderId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> orderIdUnsafeSupplier)
    • getRestricted

      public Boolean getRestricted()
    • setRestricted

      public void setRestricted(Boolean restricted)
    • setRestricted

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