Package com.blockchyp.client.dto
Class ListQueuedTransactionsResponse
java.lang.Object
com.blockchyp.client.dto.ListQueuedTransactionsResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
A list of queued transactions on a terminal.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTransactionRef(String value) Adds a a list of queued transactions on the terminal.getError()Gets the error, if an error occurred.Gets a narrative description of the transaction result.Gets a list of queued transactions on the terminal.booleanGets whether or not the request succeeded.voidSets the error, if an error occurred.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTransactionRefs(Collection<String> value) Sets a list of queued transactions on the terminal.
-
Constructor Details
-
ListQueuedTransactionsResponse
public ListQueuedTransactionsResponse()
-
-
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.
-
setTransactionRefs
Sets a list of queued transactions on the terminal.- Parameters:
value- a list of queued transactions on the terminal.
-
getTransactionRefs
Gets a list of queued transactions on the terminal.- Returns:
- a list of queued transactions on the terminal.
-
addTransactionRef
Adds a a list of queued transactions on the terminal.- Parameters:
value- a list of queued transactions on the terminal.
-