Package org.xrpl.xrpl4j.model.flags
Class AccountSetTransactionFlags
java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.TransactionFlags
org.xrpl.xrpl4j.model.flags.AccountSetTransactionFlags
TransactionFlags for AccountSet transactions. Note that using these directly is discouraged, but can
be useful when setting multiple flags for an account.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final AccountSetTransactionFlagsConstant for thetfAllowXRPflag.protected static final AccountSetTransactionFlagsConstant for thetfDisallowXRPflag.static final AccountSetTransactionFlagsConstantAccountSetTransactionFlagsfor thetfInnerBatchTxnflag.protected static final AccountSetTransactionFlagsConstant for thetfOptionalAuthflag.protected static final AccountSetTransactionFlagsConstant for thetfOptionalDestTagflag.protected static final AccountSetTransactionFlagsConstant for thetfRequireAuthflag.protected static final AccountSetTransactionFlagsConstant for thetfRequireDestTagflag.protected static final AccountSetTransactionFlagsConstant for an unset flag.Fields inherited from class org.xrpl.xrpl4j.model.flags.TransactionFlags
EMPTY, FULLY_CANONICAL_SIG -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a newAccountSetTransactionFlags.Builder.static AccountSetTransactionFlagsempty()Construct an empty instance ofAccountSetTransactionFlags.static AccountSetTransactionFlagsof(long value) ConstructAccountSetTransactionFlagswith a given value.booleanWhether or not thetfAllowXrpflag is set.booleanWhether or not thetfDisallowXrpflag is set.booleanRequire a fully canonical signature.booleanIndicates that this transaction is an inner transaction of a Batch transaction.booleanWhether or not thetfOptionalAuthflag is set.booleanWhether or not thetfOptionalDestTagflag is set.booleanWhether or not thetfRequireAuthflag is set.booleanWhether or not thetfRequireDestTagflag is set.
-
Field Details
-
UNSET
Constant for an unset flag. -
REQUIRE_DEST_TAG
Constant for thetfRequireDestTagflag. -
OPTIONAL_DEST_TAG
Constant for thetfOptionalDestTagflag. -
REQUIRE_AUTH
Constant for thetfRequireAuthflag. -
OPTIONAL_AUTH
Constant for thetfOptionalAuthflag. -
DISALLOW_XRP
Constant for thetfDisallowXRPflag. -
ALLOW_XRP
Constant for thetfAllowXRPflag. -
INNER_BATCH_TXN
ConstantAccountSetTransactionFlagsfor thetfInnerBatchTxnflag. This flag is used to indicate that a transaction is an inner transaction of a Batch.- See Also:
-
-
Method Details
-
of
ConstructAccountSetTransactionFlagswith a given value.- Parameters:
value- The long-number encoded flags value of thisAccountSetTransactionFlags.- Returns:
- New
AccountSetTransactionFlags.
-
empty
Construct an empty instance ofAccountSetTransactionFlags. Transactions with empty flags will not be serialized with aFlagsfield.- Returns:
- An empty
AccountSetTransactionFlags.
-
builder
Create a newAccountSetTransactionFlags.Builder.- Returns:
- A new
AccountSetTransactionFlags.Builder.
-
tfFullyCanonicalSig
public boolean tfFullyCanonicalSig()Require a fully canonical signature.- Overrides:
tfFullyCanonicalSigin classTransactionFlags- Returns:
trueiftfFullyCanonicalSigis set, otherwisefalse.- See Also:
-
tfRequireDestTag
public boolean tfRequireDestTag()Whether or not thetfRequireDestTagflag is set.- Returns:
trueiftfRequireDestTagis set, otherwisefalse.
-
tfOptionalDestTag
public boolean tfOptionalDestTag()Whether or not thetfOptionalDestTagflag is set.- Returns:
trueiftfOptionalDestTagis set, otherwisefalse.
-
tfRequireAuth
public boolean tfRequireAuth()Whether or not thetfRequireAuthflag is set.- Returns:
trueiftfRequireAuthis set, otherwisefalse.
-
tfOptionalAuth
public boolean tfOptionalAuth()Whether or not thetfOptionalAuthflag is set.- Returns:
trueiftfOptionalAuthis set, otherwisefalse.
-
tfDisallowXrp
public boolean tfDisallowXrp()Whether or not thetfDisallowXrpflag is set.- Returns:
trueiftfDisallowXrpis set, otherwisefalse.
-
tfAllowXrp
public boolean tfAllowXrp()Whether or not thetfAllowXrpflag is set.- Returns:
trueiftfAllowXrpis set, otherwisefalse.
-
tfInnerBatchTxn
public boolean tfInnerBatchTxn()Indicates that this transaction is an inner transaction of a Batch transaction.- Overrides:
tfInnerBatchTxnin classTransactionFlags- Returns:
trueiftfInnerBatchTxnis set, otherwisefalse.- See Also:
-