toggle menu
lattice-kt
1.0-SNAPSHOT
jvm
switch theme
search in API
lattice
/
com.example.lattice
/
TransactionBuilder
Transaction
Builder
interface
TransactionBuilder
<
T
:
TransactionBuilder
<
T
>
>
交易的建造者模式 Design: See https://refactoringguru.cn/design-patterns/builder
Inheritors
BaseTransactionBuilder
Members
Functions
build
Link copied to clipboard
abstract
fun
build
(
)
:
Transaction
refresh
Timestamp
Link copied to clipboard
abstract
fun
refreshTimestamp
(
)
:
T
set
Amount
Link copied to clipboard
abstract
fun
setAmount
(
amount
:
Long
)
:
T
set
Block
Link copied to clipboard
abstract
fun
setBlock
(
latest
:
CurrentTDBlock
)
:
T
set
Code
Link copied to clipboard
abstract
fun
setCode
(
data
:
String
)
:
T
set
Joule
Link copied to clipboard
abstract
fun
setJoule
(
joule
:
Long
)
:
T
set
Linker
Link copied to clipboard
abstract
fun
setLinker
(
linker
:
Address
)
:
T
set
Owner
Link copied to clipboard
abstract
fun
setOwner
(
owner
:
Address
)
:
T
set
Payload
Link copied to clipboard
abstract
fun
setPayload
(
payload
:
String
)
:
T