Class AddTestMerchantRequest

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

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

      public void setDbaName(String value)
      Sets the DBA name for the test merchant.
      Parameters:
      value - the DBA name for the test merchant.
    • getDbaName

      public String getDbaName()
      Gets the DBA name for the test merchant.
      Returns:
      the DBA name for the test merchant.
    • setCompanyName

      public void setCompanyName(String value)
      Sets the corporate name for the test merchant.
      Parameters:
      value - the corporate name for the test merchant.
    • getCompanyName

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