Package com.blockchyp.client.dto
Class AddTestMerchantRequest
java.lang.Object
com.blockchyp.client.dto.AddTestMerchantRequest
- All Implemented Interfaces:
ITimeoutRequest
Models basic information needed to create a test merchant.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the corporate name for the test merchant.Gets the DBA name for the test merchant.intGets the request timeout in seconds.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetCompanyName(String value) Sets the corporate name for the test merchant.voidsetDbaName(String value) Sets the DBA name for the test merchant.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
-
AddTestMerchantRequest
public AddTestMerchantRequest()
-
-
Method Details
-
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.
-
setDbaName
Sets the DBA name for the test merchant.- Parameters:
value- the DBA name for the test merchant.
-
getDbaName
Gets the DBA name for the test merchant.- Returns:
- the DBA name for the test merchant.
-
setCompanyName
Sets the corporate name for the test merchant.- Parameters:
value- the corporate name for the test merchant.
-
getCompanyName
Gets the corporate name for the test merchant.- Returns:
- the corporate name for the test merchant.
-
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.
-