Package io.vertigo.audit.ledger
Class LedgerTransactionBuilder
java.lang.Object
io.vertigo.audit.ledger.LedgerTransactionBuilder
- All Implemented Interfaces:
io.vertigo.core.lang.Builder<LedgerTransaction>
public final class LedgerTransactionBuilder
extends Object
implements io.vertigo.core.lang.Builder<LedgerTransaction>
- Author:
- xdurand
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withBlockHash(String blockHash) withBlockNumber(BigInteger blockNumber) withMessage(String message) withNonce(BigInteger nonce) withTransactionIndex(BigInteger transactionIndex) withValue(BigInteger value)
-
Method Details
-
withHash
- Parameters:
hash- the hash to set
-
withNonce
- Parameters:
nonce- the nonce to set
-
withBlockHash
- Parameters:
blockHash- the blockHash to set
-
withBlockNumber
- Parameters:
blockNumber- the blockNumber to set
-
withTransactionIndex
- Parameters:
transactionIndex- the transactionIndex to set
-
withFrom
- Parameters:
from- the from to set
-
withTo
- Parameters:
to- the to to set
-
withValue
- Parameters:
value- the value to set
-
withMessage
- Parameters:
message- the message to set
-
build
- Specified by:
buildin interfaceio.vertigo.core.lang.Builder<LedgerTransaction>
-