Class TermsAndConditionsTemplateRequest

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

public class TermsAndConditionsTemplateRequest extends Object implements ITimeoutRequest
Models a request to retrieve or manipulate terms and conditions data.
  • Constructor Details

    • TermsAndConditionsTemplateRequest

      public TermsAndConditionsTemplateRequest()
  • 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.
    • setTemplateId

      public void setTemplateId(String value)
      Sets id of a single template.
      Parameters:
      value - id of a single template.
    • getTemplateId

      public String getTemplateId()
      Gets id of a single template.
      Returns:
      id of a single template.