Class PaymentLinkResponse

java.lang.Object
com.blockchyp.client.dto.PaymentLinkResponse
All Implemented Interfaces:
IAbstractAcknowledgement

public class PaymentLinkResponse extends Object implements IAbstractAcknowledgement
Creates a payment link.
  • Constructor Details

    • PaymentLinkResponse

      public PaymentLinkResponse()
  • Method Details

    • setSuccess

      public void setSuccess(boolean value)
      Sets whether or not the request succeeded.
      Parameters:
      value - whether or not the request succeeded.
    • isSuccess

      public boolean isSuccess()
      Gets whether or not the request succeeded.
      Specified by:
      isSuccess in interface IAbstractAcknowledgement
      Returns:
      whether or not the request succeeded.
    • setError

      public void setError(String value)
      Sets the error, if an error occurred.
      Parameters:
      value - the error, if an error occurred.
    • getError

      public String getError()
      Gets the error, if an error occurred.
      Specified by:
      getError in interface IAbstractAcknowledgement
      Returns:
      the error, if an error occurred.
    • setResponseDescription

      public void setResponseDescription(String value)
      Sets a narrative description of the transaction result.
      Parameters:
      value - a narrative description of the transaction result.
    • getResponseDescription

      public String getResponseDescription()
      Gets a narrative description of the transaction result.
      Specified by:
      getResponseDescription in interface IAbstractAcknowledgement
      Returns:
      a narrative description of the transaction result.
    • setLinkCode

      public void setLinkCode(String value)
      Sets the payment link code.
      Parameters:
      value - the payment link code.
    • getLinkCode

      public String getLinkCode()
      Gets the payment link code.
      Returns:
      the payment link code.
    • setUrl

      public void setUrl(String value)
      Sets the url for the payment link.
      Parameters:
      value - the url for the payment link.
    • getUrl

      public String getUrl()
      Gets the url for the payment link.
      Returns:
      the url for the payment link.
    • setQrcodeUrl

      public void setQrcodeUrl(String value)
      Sets the url for a QR Code associated with this link.
      Parameters:
      value - the url for a QR Code associated with this link.
    • getQrcodeUrl

      public String getQrcodeUrl()
      Gets the url for a QR Code associated with this link.
      Returns:
      the url for a QR Code associated with this link.
    • setQrcodeBinary

      public void setQrcodeBinary(String value)
      Sets the hex encoded binary for the QR Code, if requested.
      Parameters:
      value - the hex encoded binary for the QR Code, if requested. Encoded in PNG format.
    • getQrcodeBinary

      public String getQrcodeBinary()
      Gets the hex encoded binary for the QR Code, if requested.
      Returns:
      the hex encoded binary for the QR Code, if requested. Encoded in PNG format.
    • setCustomerId

      public void setCustomerId(String value)
      Sets the customer id created or used for the payment.
      Parameters:
      value - the customer id created or used for the payment.
    • getCustomerId

      public String getCustomerId()
      Gets the customer id created or used for the payment.
      Returns:
      the customer id created or used for the payment.