Class SurveyQuestionRequest

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

public class SurveyQuestionRequest extends Object implements ITimeoutRequest
Models a request to retrieve or manipulate survey questions.
  • Constructor Details

    • SurveyQuestionRequest

      public SurveyQuestionRequest()
  • 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.
    • setQuestionId

      public void setQuestionId(String value)
      Sets id of a single question.
      Parameters:
      value - id of a single question.
    • getQuestionId

      public String getQuestionId()
      Gets id of a single question.
      Returns:
      id of a single question.
    • setTimeout

      public void setTimeout(int value)
      Sets an optional timeout override.
      Parameters:
      value - an optional timeout override.
    • getTimeout

      public int getTimeout()
      Gets an optional timeout override.
      Specified by:
      getTimeout in interface ITimeoutRequest
      Returns:
      an optional timeout override.