public class TermsAndConditionsTemplateResponse extends Object implements IAbstractAcknowledgement
Constructor and Description |
---|
TermsAndConditionsTemplateResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(TermsAndConditionsTemplate value)
Adds a results responsive to a request.
|
String |
getError()
Gets the error, if an error occurred.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
Collection<TermsAndConditionsTemplate> |
getResults()
Gets results responsive to a request.
|
int |
getTimeout()
Gets an optional timeout override.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setResults(Collection<TermsAndConditionsTemplate> value)
Sets results responsive to a request.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTimeout(int value)
Sets an optional timeout override.
|
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 setResults(Collection<TermsAndConditionsTemplate> value)
value
- results responsive to a request.public Collection<TermsAndConditionsTemplate> getResults()
public void setTimeout(int value)
value
- an optional timeout override.public int getTimeout()
public void addResult(TermsAndConditionsTemplate value)
value
- results responsive to a request.Copyright © 2022 BlockChyp, Inc.. All rights reserved.