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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LedgerTransactionbuild()LedgerTransactionBuilderwithBlockHash(String blockHash)LedgerTransactionBuilderwithBlockNumber(BigInteger blockNumber)LedgerTransactionBuilderwithFrom(String from)LedgerTransactionBuilderwithHash(String hash)LedgerTransactionBuilderwithMessage(String message)LedgerTransactionBuilderwithNonce(BigInteger nonce)LedgerTransactionBuilderwithTo(String to)LedgerTransactionBuilderwithTransactionIndex(BigInteger transactionIndex)LedgerTransactionBuilderwithValue(BigInteger value)
-
-
-
Method Detail
-
withHash
public LedgerTransactionBuilder withHash(String hash)
- Parameters:
hash- the hash to set
-
withNonce
public LedgerTransactionBuilder withNonce(BigInteger nonce)
- Parameters:
nonce- the nonce to set
-
withBlockHash
public LedgerTransactionBuilder withBlockHash(String blockHash)
- Parameters:
blockHash- the blockHash to set
-
withBlockNumber
public LedgerTransactionBuilder withBlockNumber(BigInteger blockNumber)
- Parameters:
blockNumber- the blockNumber to set
-
withTransactionIndex
public LedgerTransactionBuilder withTransactionIndex(BigInteger transactionIndex)
- Parameters:
transactionIndex- the transactionIndex to set
-
withFrom
public LedgerTransactionBuilder withFrom(String from)
- Parameters:
from- the from to set
-
withTo
public LedgerTransactionBuilder withTo(String to)
- Parameters:
to- the to to set
-
withValue
public LedgerTransactionBuilder withValue(BigInteger value)
- Parameters:
value- the value to set
-
withMessage
public LedgerTransactionBuilder withMessage(String message)
- Parameters:
message- the message to set
-
build
public LedgerTransaction build()
- Specified by:
buildin interfaceio.vertigo.core.lang.Builder<LedgerTransaction>
-
-