public class TermsAndConditionsLogResponse extends Object implements IAbstractAcknowledgement
Constructor and Description |
---|
TermsAndConditionsLogResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(TermsAndConditionsLogEntry value)
Adds a the full result set responsive to the original request, subject to
pagination limits.
|
String |
getError()
Gets the error, if an error occurred.
|
int |
getMaxResults()
Gets max to be returned in a single page.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
int |
getResultCount()
Gets total number of results accessible through paging.
|
Collection<TermsAndConditionsLogEntry> |
getResults()
Gets the full result set responsive to the original request, subject to pagination
limits.
|
int |
getStartIndex()
Gets starting index for paged results.
|
String |
getTransactionId()
Gets optional transaction id if only log entries related to a transaction should be
returned.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setMaxResults(int value)
Sets max to be returned in a single page.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setResultCount(int value)
Sets total number of results accessible through paging.
|
void |
setResults(Collection<TermsAndConditionsLogEntry> value)
Sets the full result set responsive to the original request, subject to pagination
limits.
|
void |
setStartIndex(int value)
Sets starting index for paged results.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTransactionId(String value)
Sets optional transaction id if only log entries related to a transaction should be
returned.
|
public void setSuccess(boolean value)
value
- whether or not the request succeeded.public boolean isSuccess()
isSuccess
in interface IAbstractAcknowledgement
public void setError(String value)
value
- the error, if an error occurred.public String getError()
getError
in interface IAbstractAcknowledgement
public void setResponseDescription(String value)
value
- a narrative description of the transaction result.public String getResponseDescription()
getResponseDescription
in interface IAbstractAcknowledgement
public void setTransactionId(String value)
value
- optional transaction id if only log entries related to a transaction
should be returned.public String getTransactionId()
public void setMaxResults(int value)
value
- max to be returned in a single page. Defaults to the system max of 250.public int getMaxResults()
public void setStartIndex(int value)
value
- starting index for paged results. Defaults to zero.public int getStartIndex()
public void setResultCount(int value)
value
- total number of results accessible through paging.public int getResultCount()
public void setResults(Collection<TermsAndConditionsLogEntry> value)
value
- the full result set responsive to the original request, subject to
pagination limits.public Collection<TermsAndConditionsLogEntry> getResults()
public void addResult(TermsAndConditionsLogEntry value)
value
- the full result set responsive to the original request, subject to
pagination limits.Copyright © 2022 BlockChyp, Inc.. All rights reserved.