Class TerminalProfileResponse

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

public class TerminalProfileResponse extends Object implements IAbstractAcknowledgement
Models a terminal profile response.
  • Constructor Details

    • TerminalProfileResponse

      public TerminalProfileResponse()
  • 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.
    • setResults

      public void setResults(Collection<TerminalProfile> value)
      Sets enumerates all terminal profiles in the response.
      Parameters:
      value - enumerates all terminal profiles in the response.
    • getResults

      public Collection<TerminalProfile> getResults()
      Gets enumerates all terminal profiles in the response.
      Returns:
      enumerates all terminal profiles in the response.
    • addResult

      public void addResult(TerminalProfile value)
      Adds a enumerates all terminal profiles in the response.
      Parameters:
      value - enumerates all terminal profiles in the response.