public class CoreResponse extends Object
| Constructor and Description |
|---|
CoreResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBatchId()
Returns the batch id assigned to the transaction.
|
String |
getResponseDescription()
Returns the response description.
|
String |
getSig()
Returns the ECC signature of the response.
|
String |
getTickBlock()
Returns the last tick block hash.
|
String |
getTimestamp()
Returns the timestamp on the server at the time the heartbeat request was processed.
|
String |
getTransactionId()
Returns the transaction id assigned to the transaction.
|
String |
getTransactionRef()
Echoes back the transaction ref from the original request.
|
String |
getTransactionType()
Echoes back the transaction type from the original request.
|
boolean |
isTest()
Echoes back the test flag set on the original request.
|
void |
setBatchId(String batchId)
Sets the batch id.
|
void |
setResponseDescription(String responseDescription)
Sets the response description.
|
void |
setSig(String sig)
Sets the response signature.
|
void |
setTest(boolean test)
Sets the test flag.
|
void |
setTickBlock(String tickBlock)
Hash of the latest tick block.
|
void |
setTimestamp(String timestamp)
Sets the timestamp.
|
void |
setTransactionId(String transactionId)
Sets the transaction id.
|
void |
setTransactionRef(String transactionRef)
Sets the transaction ref.
|
void |
setTransactionType(String transactionType)
Sets the transaction type.
|
public String getResponseDescription()
public void setResponseDescription(String responseDescription)
responseDescription - response description.public String getTransactionId()
public void setTransactionId(String transactionId)
transactionId - transaction id.public String getBatchId()
public void setBatchId(String batchId)
batchId - batch id.public String getTransactionRef()
public void setTransactionRef(String transactionRef)
transactionRef - transaction ref.public String getTransactionType()
public void setTransactionType(String transactionType)
transactionType - transaction type.public String getTimestamp()
public void setTimestamp(String timestamp)
timestamp - java.util.Datepublic String getTickBlock()
public void setTickBlock(String tickBlock)
tickBlock - the tick block hash.public boolean isTest()
public void setTest(boolean test)
test - the test flag.public String getSig()
public void setSig(String sig)
sig - ECCDSA signature in hex format.Copyright © 2019 BlockChyp, Inc.. All rights reserved.