| Constructor and Description |
|---|
TransactionStatement(java.lang.String recordId,
java.math.BigInteger height,
ReceiptSource receiptSource,
java.util.List<Receipt> receipts)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateHash()
Serialize transaction statement and generate hash
|
java.math.BigInteger |
getHeight()
Returns block height
|
java.util.List<Receipt> |
getReceipts()
Returns Array of receipts.
|
ReceiptSource |
getReceiptSource()
Returns receipt source
|
java.util.Optional<java.lang.String> |
getRecordId()
Returns database record id of the entity.
|
public TransactionStatement(java.lang.String recordId,
java.math.BigInteger height,
ReceiptSource receiptSource,
java.util.List<Receipt> receipts)
recordId - the database record id if known.height - Block heightreceiptSource - The receipt source.receipts - Array of receipts.public ReceiptSource getReceiptSource()
public java.math.BigInteger getHeight()
public java.util.List<Receipt> getReceipts()
public java.lang.String generateHash()
public java.util.Optional<java.lang.String> getRecordId()
StoredgetRecordId in interface Stored