Class UpdateMerchantPlatformRequest

java.lang.Object
com.blockchyp.client.dto.UpdateMerchantPlatformRequest
All Implemented Interfaces:
ITimeoutRequest

public class UpdateMerchantPlatformRequest extends Object implements ITimeoutRequest
Used to up platform configuration for gateway merchants.
  • 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:
      getTimeout in interface ITimeoutRequest
      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:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setPlatform

      public void setPlatform(MerchantPlatform value)
      Sets the merchant platform configuration.
      Parameters:
      value - the merchant platform configuration.
    • getPlatform

      public MerchantPlatform getPlatform()
      Gets the merchant platform configuration.
      Returns:
      the merchant platform configuration.