Class TransientKeyResponse

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

public class TransientKeyResponse extends Object implements IAbstractAcknowledgement
Models a response containing short-lived API credentials.
  • Constructor Details

    • TransientKeyResponse

      public TransientKeyResponse()
  • 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.
    • setApiKey

      public void setApiKey(String value)
      Sets the transient API key.
      Parameters:
      value - the transient API key.
    • getApiKey

      public String getApiKey()
      Gets the transient API key.
      Returns:
      the transient API key.
    • setBearerToken

      public void setBearerToken(String value)
      Sets the transient bearer token.
      Parameters:
      value - the transient bearer token.
    • getBearerToken

      public String getBearerToken()
      Gets the transient bearer token.
      Returns:
      the transient bearer token.
    • setSigningKey

      public void setSigningKey(String value)
      Sets the transient signing key.
      Parameters:
      value - the transient signing key.
    • getSigningKey

      public String getSigningKey()
      Gets the transient signing key.
      Returns:
      the transient signing key.