Class TerminalDeactivationRequest

java.lang.Object
com.blockchyp.client.dto.TerminalDeactivationRequest
All Implemented Interfaces:
ITimeoutRequest

public class TerminalDeactivationRequest extends Object implements ITimeoutRequest
Models a terminal deactivation request.
  • Constructor Details

    • TerminalDeactivationRequest

      public TerminalDeactivationRequest()
  • Method Details

    • setTimeout

      public void setTimeout(int value)
      Sets the request timeout in seconds.
      Parameters:
      value - the request timeout in seconds.
    • getTimeout

      public int getTimeout()
      Gets the request timeout in seconds.
      Specified by:
      getTimeout in interface ITimeoutRequest
      Returns:
      the request timeout in seconds.
    • setTest

      public void setTest(boolean value)
      Sets whether or not to route transaction to the test gateway.
      Parameters:
      value - whether or not to route transaction to the test gateway.
    • isTest

      public boolean isTest()
      Gets whether or not to route transaction to the test gateway.
      Specified by:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setTerminalName

      public void setTerminalName(String value)
      Sets the terminal name assigned to the terminal.
      Parameters:
      value - the terminal name assigned to the terminal.
    • getTerminalName

      public String getTerminalName()
      Gets the terminal name assigned to the terminal.
      Returns:
      the terminal name assigned to the terminal.
    • setTerminalId

      public void setTerminalId(String value)
      Sets the id assigned by BlockChyp to the terminal.
      Parameters:
      value - the id assigned by BlockChyp to the terminal.
    • getTerminalId

      public String getTerminalId()
      Gets the id assigned by BlockChyp to the terminal.
      Returns:
      the id assigned by BlockChyp to the terminal.