Package com.blockchyp.client.dto
Class UpdateMerchantPlatformRequest
java.lang.Object
com.blockchyp.client.dto.UpdateMerchantPlatformRequest
- All Implemented Interfaces:
ITimeoutRequest
Used to up platform configuration for gateway merchants.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the merchant platform configuration.intGets the request timeout in seconds.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetPlatform(MerchantPlatform value) Sets the merchant platform configuration.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
-
UpdateMerchantPlatformRequest
public UpdateMerchantPlatformRequest()
-
-
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.
-
setPlatform
Sets the merchant platform configuration.- Parameters:
value- the merchant platform configuration.
-
getPlatform
Gets the merchant platform configuration.- Returns:
- the merchant platform configuration.
-