Package com.blockchyp.client.dto
Class TermsAndConditionsLogResponse
java.lang.Object
com.blockchyp.client.dto.TermsAndConditionsLogResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models a Terms and Conditions history request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a the full result set responsive to the original request, subject to pagination limits.getError()Gets the error, if an error occurred.intGets max to be returned in a single page.Gets a narrative description of the transaction result.intGets total number of results accessible through paging.Gets the full result set responsive to the original request, subject to pagination limits.intGets starting index for paged results.Gets optional transaction id if only log entries related to a transaction should be returned.booleanGets whether or not the request succeeded.voidSets the error, if an error occurred.voidsetMaxResults(int value) Sets max to be returned in a single page.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetResultCount(int value) Sets total number of results accessible through paging.voidSets the full result set responsive to the original request, subject to pagination limits.voidsetStartIndex(int value) Sets starting index for paged results.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTransactionId(String value) Sets optional transaction id if only log entries related to a transaction should be returned.
-
Constructor Details
-
TermsAndConditionsLogResponse
public TermsAndConditionsLogResponse()
-
-
Method Details
-
setSuccess
public void setSuccess(boolean value) Sets whether or not the request succeeded.- Parameters:
value- whether or not the request succeeded.
-
isSuccess
public boolean isSuccess()Gets whether or not the request succeeded.- Specified by:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
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.
-
setResultCount
public void setResultCount(int value) Sets total number of results accessible through paging.- Parameters:
value- total number of results accessible through paging.
-
getResultCount
public int getResultCount()Gets total number of results accessible through paging.- Returns:
- total number of results accessible through paging.
-
setResults
Sets the full result set responsive to the original request, subject to pagination limits.- Parameters:
value- the full result set responsive to the original request, subject to pagination limits.
-
getResults
Gets the full result set responsive to the original request, subject to pagination limits.- Returns:
- the full result set responsive to the original request, subject to pagination limits.
-
addResult
Adds a the full result set responsive to the original request, subject to pagination limits.- Parameters:
value- the full result set responsive to the original request, subject to pagination limits.
-