Package com.blockchyp.client.dto
Class AddGatewayMerchantRequest
java.lang.Object
com.blockchyp.client.dto.AddGatewayMerchantRequest
- All Implemented Interfaces:
ITimeoutRequest
Models basic information needed to create a gateway merchant.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the merchant profile to be boarded.intGets the request timeout in seconds.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetProfile(MerchantProfile value) Sets the merchant profile to be boarded.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
-
AddGatewayMerchantRequest
public AddGatewayMerchantRequest()
-
-
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.
-
setProfile
Sets the merchant profile to be boarded.- Parameters:
value- the merchant profile to be boarded.
-
getProfile
Gets the merchant profile to be boarded.- Returns:
- the merchant profile to be boarded.
-
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.
-