public final class LedgerTransactionBuilder extends Object implements io.vertigo.lang.Builder<LedgerTransaction>
| Modifier and Type | Method and Description |
|---|---|
LedgerTransaction |
build() |
LedgerTransactionBuilder |
withBlockHash(String blockHash) |
LedgerTransactionBuilder |
withBlockNumber(BigInteger blockNumber) |
LedgerTransactionBuilder |
withFrom(String from) |
LedgerTransactionBuilder |
withHash(String hash) |
LedgerTransactionBuilder |
withMessage(String message) |
LedgerTransactionBuilder |
withNonce(BigInteger nonce) |
LedgerTransactionBuilder |
withTo(String to) |
LedgerTransactionBuilder |
withTransactionIndex(BigInteger transactionIndex) |
LedgerTransactionBuilder |
withValue(BigInteger value) |
public LedgerTransactionBuilder withHash(String hash)
hash - the hash to setpublic LedgerTransactionBuilder withNonce(BigInteger nonce)
nonce - the nonce to setpublic LedgerTransactionBuilder withBlockHash(String blockHash)
blockHash - the blockHash to setpublic LedgerTransactionBuilder withBlockNumber(BigInteger blockNumber)
blockNumber - the blockNumber to setpublic LedgerTransactionBuilder withTransactionIndex(BigInteger transactionIndex)
transactionIndex - the transactionIndex to setpublic LedgerTransactionBuilder withFrom(String from)
from - the from to setpublic LedgerTransactionBuilder withTo(String to)
to - the to to setpublic LedgerTransactionBuilder withValue(BigInteger value)
value - the value to setpublic LedgerTransactionBuilder withMessage(String message)
message - the message to setpublic LedgerTransaction build()
build in interface io.vertigo.lang.Builder<LedgerTransaction>Copyright © 2019. All rights reserved.