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

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

    • actions

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

      protected BigDecimal amount
    • amountFormatted

      protected String amountFormatted
    • author

      protected String author
    • callbackURL

      protected String callbackURL
    • cancelURL

      protected String cancelURL
    • channelId

      protected Long channelId
    • comment

      protected String comment
    • createDate

      protected Date createDate
    • currencyCode

      protected String currencyCode
    • currencyExternalReferenceCode

      protected String currencyExternalReferenceCode
    • currencyId

      protected Long currencyId
    • errorMessages

      protected String errorMessages
    • externalReferenceCode

      protected String externalReferenceCode
    • id

      protected Long id
    • languageId

      protected String languageId
    • payload

      protected String payload
    • paymentIntegrationKey

      protected String paymentIntegrationKey
    • paymentIntegrationType

      protected Integer paymentIntegrationType
    • paymentStatus

      protected Integer paymentStatus
    • paymentStatusStatus

      protected Status paymentStatusStatus
    • reasonKey

      protected String reasonKey
    • reasonName

      protected Map<String,String> reasonName
    • redirectURL

      protected String redirectURL
    • relatedItemId

      protected Long relatedItemId
    • relatedItemName

      protected String relatedItemName
    • relatedItemNameLabel

      protected String relatedItemNameLabel
    • transactionCode

      protected String transactionCode
    • type

      protected Integer type
    • typeLabel

      protected String typeLabel
    • xClassName

      public String xClassName
  • Constructor Details

    • Payment

      public Payment()
  • Method Details

    • toDTO

      public static Payment toDTO(String json)
    • unsafeToDTO

      public static Payment 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)
    • getAmount

      @Valid public @Valid BigDecimal getAmount()
    • setAmount

      public void setAmount(BigDecimal amount)
    • setAmount

      public void setAmount(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> amountUnsafeSupplier)
    • getAmountFormatted

      public String getAmountFormatted()
    • setAmountFormatted

      public void setAmountFormatted(String amountFormatted)
    • setAmountFormatted

      public void setAmountFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> amountFormattedUnsafeSupplier)
    • getAuthor

      public String getAuthor()
    • setAuthor

      public void setAuthor(String author)
    • setAuthor

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

      public String getCallbackURL()
    • setCallbackURL

      public void setCallbackURL(String callbackURL)
    • setCallbackURL

      public void setCallbackURL(com.liferay.petra.function.UnsafeSupplier<String,Exception> callbackURLUnsafeSupplier)
    • getCancelURL

      public String getCancelURL()
    • setCancelURL

      public void setCancelURL(String cancelURL)
    • setCancelURL

      public void setCancelURL(com.liferay.petra.function.UnsafeSupplier<String,Exception> cancelURLUnsafeSupplier)
    • getChannelId

      @DecimalMin("0") public @DecimalMin("0") Long getChannelId()
    • setChannelId

      public void setChannelId(Long channelId)
    • setChannelId

      public void setChannelId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> channelIdUnsafeSupplier)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • setComment

      public void setComment(com.liferay.petra.function.UnsafeSupplier<String,Exception> commentUnsafeSupplier)
    • getCreateDate

      public Date getCreateDate()
    • setCreateDate

      public void setCreateDate(Date createDate)
    • setCreateDate

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

      public String getCurrencyCode()
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • setCurrencyCode

      public void setCurrencyCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> currencyCodeUnsafeSupplier)
    • getCurrencyExternalReferenceCode

      public String getCurrencyExternalReferenceCode()
    • setCurrencyExternalReferenceCode

      public void setCurrencyExternalReferenceCode(String currencyExternalReferenceCode)
    • setCurrencyExternalReferenceCode

      public void setCurrencyExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> currencyExternalReferenceCodeUnsafeSupplier)
    • getCurrencyId

      @DecimalMin("0") public @DecimalMin("0") Long getCurrencyId()
    • setCurrencyId

      public void setCurrencyId(Long currencyId)
    • setCurrencyId

      public void setCurrencyId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> currencyIdUnsafeSupplier)
    • getErrorMessages

      public String getErrorMessages()
    • setErrorMessages

      public void setErrorMessages(String errorMessages)
    • setErrorMessages

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

      public String getLanguageId()
    • setLanguageId

      public void setLanguageId(String languageId)
    • setLanguageId

      public void setLanguageId(com.liferay.petra.function.UnsafeSupplier<String,Exception> languageIdUnsafeSupplier)
    • getPayload

      public String getPayload()
    • setPayload

      public void setPayload(String payload)
    • setPayload

      public void setPayload(com.liferay.petra.function.UnsafeSupplier<String,Exception> payloadUnsafeSupplier)
    • getPaymentIntegrationKey

      public String getPaymentIntegrationKey()
    • setPaymentIntegrationKey

      public void setPaymentIntegrationKey(String paymentIntegrationKey)
    • setPaymentIntegrationKey

      public void setPaymentIntegrationKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> paymentIntegrationKeyUnsafeSupplier)
    • getPaymentIntegrationType

      @DecimalMin("0") public @DecimalMin("0") Integer getPaymentIntegrationType()
    • setPaymentIntegrationType

      public void setPaymentIntegrationType(Integer paymentIntegrationType)
    • setPaymentIntegrationType

      public void setPaymentIntegrationType(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> paymentIntegrationTypeUnsafeSupplier)
    • getPaymentStatus

      @DecimalMin("0") public @DecimalMin("0") Integer getPaymentStatus()
    • setPaymentStatus

      public void setPaymentStatus(Integer paymentStatus)
    • setPaymentStatus

      public void setPaymentStatus(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> paymentStatusUnsafeSupplier)
    • getPaymentStatusStatus

      @Valid public @Valid Status getPaymentStatusStatus()
    • setPaymentStatusStatus

      public void setPaymentStatusStatus(Status paymentStatusStatus)
    • setPaymentStatusStatus

      public void setPaymentStatusStatus(com.liferay.petra.function.UnsafeSupplier<Status,Exception> paymentStatusStatusUnsafeSupplier)
    • getReasonKey

      public String getReasonKey()
    • setReasonKey

      public void setReasonKey(String reasonKey)
    • setReasonKey

      public void setReasonKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> reasonKeyUnsafeSupplier)
    • getReasonName

      @Valid public @Valid Map<String,String> getReasonName()
    • setReasonName

      public void setReasonName(Map<String,String> reasonName)
    • setReasonName

      public void setReasonName(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> reasonNameUnsafeSupplier)
    • getRedirectURL

      public String getRedirectURL()
    • setRedirectURL

      public void setRedirectURL(String redirectURL)
    • setRedirectURL

      public void setRedirectURL(com.liferay.petra.function.UnsafeSupplier<String,Exception> redirectURLUnsafeSupplier)
    • getRelatedItemId

      @DecimalMin("0") public @DecimalMin("0") Long getRelatedItemId()
    • setRelatedItemId

      public void setRelatedItemId(Long relatedItemId)
    • setRelatedItemId

      public void setRelatedItemId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> relatedItemIdUnsafeSupplier)
    • getRelatedItemName

      public String getRelatedItemName()
    • setRelatedItemName

      public void setRelatedItemName(String relatedItemName)
    • setRelatedItemName

      public void setRelatedItemName(com.liferay.petra.function.UnsafeSupplier<String,Exception> relatedItemNameUnsafeSupplier)
    • getRelatedItemNameLabel

      public String getRelatedItemNameLabel()
    • setRelatedItemNameLabel

      public void setRelatedItemNameLabel(String relatedItemNameLabel)
    • setRelatedItemNameLabel

      public void setRelatedItemNameLabel(com.liferay.petra.function.UnsafeSupplier<String,Exception> relatedItemNameLabelUnsafeSupplier)
    • getTransactionCode

      public String getTransactionCode()
    • setTransactionCode

      public void setTransactionCode(String transactionCode)
    • setTransactionCode

      public void setTransactionCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> transactionCodeUnsafeSupplier)
    • getType

      public Integer getType()
    • setType

      public void setType(Integer type)
    • setType

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

      public String getTypeLabel()
    • setTypeLabel

      public void setTypeLabel(String typeLabel)
    • setTypeLabel

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