Package com.blockchyp.client.dto
Class TerminalProfileRequest
java.lang.Object
com.blockchyp.client.dto.TerminalProfileRequest
- All Implemented Interfaces:
ITimeoutRequest
Models a terminal profile request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the request timeout in seconds.booleanisTest()Gets whether or not to route transaction to the test gateway.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
-
TerminalProfileRequest
public TerminalProfileRequest()
-
-
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.
-