public class TerminalStatusResponse extends Object implements IAbstractAcknowledgement
Constructor and Description |
---|
TerminalStatusResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getError()
Gets the error, if an error occurred.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
Date |
getSince()
Gets the timestamp of the last status change.
|
String |
getStatus()
Gets the operation that the terminal is performing.
|
String |
getTransactionRef()
Gets the transaction reference for an ongoing transaction, if one was specified at
request time.
|
boolean |
isIdle()
Gets that the terminal is idle.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setIdle(boolean value)
Sets that the terminal is idle.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setSince(Date value)
Sets the timestamp of the last status change.
|
void |
setStatus(String value)
Sets the operation that the terminal is performing.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTransactionRef(String value)
Sets the transaction reference for an ongoing transaction, if one was specified at
request time.
|
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 setIdle(boolean value)
value
- that the terminal is idle.public boolean isIdle()
public void setStatus(String value)
value
- the operation that the terminal is performing.public String getStatus()
public void setTransactionRef(String value)
value
- the transaction reference for an ongoing transaction, if one was
specified at request time.public String getTransactionRef()
public void setSince(Date value)
value
- the timestamp of the last status change.public Date getSince()
Copyright © 2022 BlockChyp, Inc.. All rights reserved.