public class Transaction
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Transaction(@NotNull java.lang.String expiration,
@NotNull java.math.BigInteger refBlockNum,
@NotNull java.math.BigInteger refBlockPrefix,
@NotNull java.math.BigInteger maxNetUsageWords,
@NotNull java.math.BigInteger maxCpuUsageMs,
@NotNull java.math.BigInteger delaySec,
@NotNull java.util.List<Action> contextFreeActions,
@NotNull java.util.List<Action> actions,
@NotNull java.util.List<java.lang.String> transactionExtensions)
Instantiates a new Transaction.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.util.List<Action> |
getActions() |
@NotNull java.util.List<Action> |
getContextFreeActions() |
@NotNull java.math.BigInteger |
getDelaySec() |
@NotNull java.lang.String |
getExpiration()
Gets expiration.
|
@NotNull java.math.BigInteger |
getMaxCpuUsageMs() |
@NotNull java.math.BigInteger |
getMaxNetUsageWords() |
@NotNull java.math.BigInteger |
getRefBlockNum()
Gets ref block number.
|
@NotNull java.math.BigInteger |
getRefBlockPrefix()
Gets ref block prefix.
|
@NotNull java.util.List<java.lang.String> |
getTransactionExtensions() |
void |
setActions(@NotNull java.util.List<Action> actions) |
void |
setContextFreeActions(@NotNull java.util.List<Action> contextFreeActions) |
void |
setDelaySec(@NotNull java.math.BigInteger delaySec) |
void |
setExpiration(@NotNull java.lang.String expiration)
Sets expiration.
|
void |
setMaxCpuUsageMs(@NotNull java.math.BigInteger maxCpuUsageMs) |
void |
setMaxNetUsageWords(@NotNull java.math.BigInteger maxNetUsageWords) |
void |
setRefBlockNum(@NotNull java.math.BigInteger refBlockNum)
Sets ref block number.
|
void |
setRefBlockPrefix(@NotNull java.math.BigInteger refBlockPrefix)
Sets ref block prefix.
|
void |
setTransactionExtensions(@NotNull java.util.List<java.lang.String> transactionExtensions) |
public Transaction(@NotNull @NotNull java.lang.String expiration, @NotNull @NotNull java.math.BigInteger refBlockNum, @NotNull @NotNull java.math.BigInteger refBlockPrefix, @NotNull @NotNull java.math.BigInteger maxNetUsageWords, @NotNull @NotNull java.math.BigInteger maxCpuUsageMs, @NotNull @NotNull java.math.BigInteger delaySec, @NotNull @NotNull java.util.List<Action> contextFreeActions, @NotNull @NotNull java.util.List<Action> actions, @NotNull @NotNull java.util.List<java.lang.String> transactionExtensions)
expiration
- the expirationrefBlockNum
- the ref block numrefBlockPrefix
- the ref block prefixmaxNetUsageWords
- the max net usage wordsmaxCpuUsageMs
- the max cpu usage msdelaySec
- the delay seccontextFreeActions
- the context free actionsactions
- the actionstransactionExtensions
- the transaction extensions@NotNull public @NotNull java.lang.String getExpiration()
GetInfoResponse.getHeadBlockTime()
public void setExpiration(@NotNull @NotNull java.lang.String expiration)
GetInfoResponse.getHeadBlockTime()
expiration
- the expiration@NotNull public @NotNull java.math.BigInteger getRefBlockNum()
GetBlockResponse.getRefBlockPrefix()
public void setRefBlockNum(@NotNull @NotNull java.math.BigInteger refBlockNum)
GetBlockResponse.getRefBlockPrefix()
refBlockNum
- the ref block number@NotNull public @NotNull java.math.BigInteger getRefBlockPrefix()
GetBlockResponse.getRefBlockPrefix()
public void setRefBlockPrefix(@NotNull @NotNull java.math.BigInteger refBlockPrefix)
GetBlockResponse.getRefBlockPrefix()
refBlockPrefix
- the ref block prefix.@NotNull public @NotNull java.math.BigInteger getMaxNetUsageWords()
public void setMaxNetUsageWords(@NotNull @NotNull java.math.BigInteger maxNetUsageWords)
@NotNull public @NotNull java.math.BigInteger getMaxCpuUsageMs()
public void setMaxCpuUsageMs(@NotNull @NotNull java.math.BigInteger maxCpuUsageMs)
@NotNull public @NotNull java.math.BigInteger getDelaySec()
public void setDelaySec(@NotNull @NotNull java.math.BigInteger delaySec)
@NotNull public @NotNull java.util.List<Action> getContextFreeActions()
public void setContextFreeActions(@NotNull @NotNull java.util.List<Action> contextFreeActions)
@NotNull public @NotNull java.util.List<Action> getActions()
public void setActions(@NotNull @NotNull java.util.List<Action> actions)
@NotNull public @NotNull java.util.List<java.lang.String> getTransactionExtensions()
public void setTransactionExtensions(@NotNull @NotNull java.util.List<java.lang.String> transactionExtensions)