Package com.blockchyp.client.dto
Class SurveyQuestionRequest
java.lang.Object
com.blockchyp.client.dto.SurveyQuestionRequest
- All Implemented Interfaces:
ITimeoutRequest
Models a request to retrieve or manipulate survey questions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets id of a single question.intGets an optional timeout override.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetQuestionId(String value) Sets id of a single question.voidsetTest(boolean value) Sets whether or not to route transaction to the test gateway.voidsetTimeout(int value) Sets an optional timeout override.
-
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:
isTestin interfaceITimeoutRequest- Returns:
- whether or not to route transaction to the test gateway.
-
setQuestionId
Sets id of a single question.- Parameters:
value- id of a single question.
-
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:
getTimeoutin interfaceITimeoutRequest- Returns:
- an optional timeout override.
-