Package com.blockchyp.client.dto
Class TerminalDeactivationRequest
java.lang.Object
com.blockchyp.client.dto.TerminalDeactivationRequest
- All Implemented Interfaces:
ITimeoutRequest
Models a terminal deactivation request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the id assigned by BlockChyp to the terminal.Gets the terminal name assigned to the terminal.intGets the request timeout in seconds.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetTerminalId(String value) Sets the id assigned by BlockChyp to the terminal.voidsetTerminalName(String value) Sets the terminal name assigned to the terminal.voidsetTest(boolean value) Sets whether or not to route transaction to the test gateway.voidsetTimeout(int value) Sets the request timeout in seconds.
-
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:
getTimeoutin interfaceITimeoutRequest- 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:
isTestin interfaceITimeoutRequest- Returns:
- whether or not to route transaction to the test gateway.
-
setTerminalName
Sets the terminal name assigned to the terminal.- Parameters:
value- the terminal name assigned to the terminal.
-
getTerminalName
Gets the terminal name assigned to the terminal.- Returns:
- the terminal name assigned to the terminal.
-
setTerminalId
Sets the id assigned by BlockChyp to the terminal.- Parameters:
value- the id assigned by BlockChyp to the terminal.
-
getTerminalId
Gets the id assigned by BlockChyp to the terminal.- Returns:
- the id assigned by BlockChyp to the terminal.
-