Package com.blockchyp.client.dto
Class TermsAndConditionsLogRequest
java.lang.Object
com.blockchyp.client.dto.TermsAndConditionsLogRequest
- All Implemented Interfaces:
ITimeoutRequest
Models a Terms and Conditions history request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets an optional end date for filtering response data.Gets the identifier of the log entry to be returned for single result requests.intGets max to be returned in a single page.Gets an optional start date for filtering response data.intGets starting index for paged results.intGets the request timeout in seconds.Gets optional transaction id if only log entries related to a transaction should be returned.booleanisTest()Gets whether or not to route transaction to the test gateway.voidsetEndDate(String value) Sets an optional end date for filtering response data.voidsetLogEntryId(String value) Sets the identifier of the log entry to be returned for single result requests.voidsetMaxResults(int value) Sets max to be returned in a single page.voidsetStartDate(String value) Sets an optional start date for filtering response data.voidsetStartIndex(int value) Sets starting index for paged results.voidsetTest(boolean value) Sets whether or not to route transaction to the test gateway.voidsetTimeout(int value) Sets the request timeout in seconds.voidsetTransactionId(String value) Sets optional transaction id if only log entries related to a transaction should be returned.
-
Constructor Details
-
TermsAndConditionsLogRequest
public TermsAndConditionsLogRequest()
-
-
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:
getTimeoutin interfaceITimeoutRequest- 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:
isTestin interfaceITimeoutRequest- Returns:
- whether or not to route transaction to the test gateway.
-
setLogEntryId
Sets the identifier of the log entry to be returned for single result requests.- Parameters:
value- the identifier of the log entry to be returned for single result requests.
-
getLogEntryId
Gets the identifier of the log entry to be returned for single result requests.- Returns:
- the identifier of the log entry to be returned for single result requests.
-
setTransactionId
Sets optional transaction id if only log entries related to a transaction should be returned.- Parameters:
value- optional transaction id if only log entries related to a transaction should be returned.
-
getTransactionId
Gets optional transaction id if only log entries related to a transaction should be returned.- Returns:
- optional transaction id if only log entries related to a transaction should be returned.
-
setMaxResults
public void setMaxResults(int value) Sets max to be returned in a single page.- Parameters:
value- max to be returned in a single page. Defaults to the system max of 250.
-
getMaxResults
public int getMaxResults()Gets max to be returned in a single page.- Returns:
- max to be returned in a single page. Defaults to the system max of 250.
-
setStartIndex
public void setStartIndex(int value) Sets starting index for paged results.- Parameters:
value- starting index for paged results. Defaults to zero.
-
getStartIndex
public int getStartIndex()Gets starting index for paged results.- Returns:
- starting index for paged results. Defaults to zero.
-
setStartDate
Sets an optional start date for filtering response data.- Parameters:
value- an optional start date for filtering response data.
-
getStartDate
Gets an optional start date for filtering response data.- Returns:
- an optional start date for filtering response data.
-
setEndDate
Sets an optional end date for filtering response data.- Parameters:
value- an optional end date for filtering response data.
-
getEndDate
Gets an optional end date for filtering response data.- Returns:
- an optional end date for filtering response data.
-