Class SurveyResultsRequest

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

public class SurveyResultsRequest extends Object implements ITimeoutRequest
Models a request to retrieve survey results.
  • Constructor Details

    • SurveyResultsRequest

      public SurveyResultsRequest()
  • 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.
    • 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.
    • setStartDate

      public void setStartDate(String value)
      Sets an optional start date for filtering response data.
      Parameters:
      value - an optional start date for filtering response data.
    • getStartDate

      public String getStartDate()
      Gets an optional start date for filtering response data.
      Returns:
      an optional start date for filtering response data.
    • setEndDate

      public void setEndDate(String value)
      Sets an optional end date for filtering response data.
      Parameters:
      value - an optional end date for filtering response data.
    • getEndDate

      public String getEndDate()
      Gets an optional end date for filtering response data.
      Returns:
      an optional end date for filtering response data.