Class AddGatewayMerchantRequest

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

public class AddGatewayMerchantRequest extends Object implements ITimeoutRequest
Models basic information needed to create a gateway merchant.
  • 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:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setProfile

      public void setProfile(MerchantProfile value)
      Sets the merchant profile to be boarded.
      Parameters:
      value - the merchant profile to be boarded.
    • getProfile

      public MerchantProfile 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:
      getTimeout in interface ITimeoutRequest
      Returns:
      the request timeout in seconds.