Class TerminalActivationRequest

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

public class TerminalActivationRequest extends Object implements ITimeoutRequest
Models a terminal activation request.
  • Constructor Details

    • TerminalActivationRequest

      public TerminalActivationRequest()
  • 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.
    • setMerchantId

      public void setMerchantId(String value)
      Sets the optional merchant id.
      Parameters:
      value - the optional merchant id.
    • getMerchantId

      public String getMerchantId()
      Gets the optional merchant id.
      Returns:
      the optional merchant id.
    • setActivationCode

      public void setActivationCode(String value)
      Sets the terminal activation code displayed on the terminal.
      Parameters:
      value - the terminal activation code displayed on the terminal.
    • getActivationCode

      public String getActivationCode()
      Gets the terminal activation code displayed on the terminal.
      Returns:
      the terminal activation code displayed on the terminal.
    • setTerminalName

      public void setTerminalName(String value)
      Sets the name to be assigned to the terminal.
      Parameters:
      value - the name to be assigned to the terminal. Must be unique for the merchant account.
    • getTerminalName

      public String getTerminalName()
      Gets the name to be assigned to the terminal.
      Returns:
      the name to be assigned to the terminal. Must be unique for the merchant account.
    • setCloudRelay

      public void setCloudRelay(boolean value)
      Sets that the terminal should be activated in cloud relay mode.
      Parameters:
      value - that the terminal should be activated in cloud relay mode.
    • isCloudRelay

      public boolean isCloudRelay()
      Gets that the terminal should be activated in cloud relay mode.
      Returns:
      that the terminal should be activated in cloud relay mode.