Package org.xrpl.xrpl4j.model.flags
Class NfTokenMintFlags
java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.TransactionFlags
org.xrpl.xrpl4j.model.flags.NfTokenMintFlags
A set of static
TransactionFlags which can be set on
NfTokenMint transactions.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final NfTokenMintFlagsConstantNfTokenMintFlagsfor thetfBurnableflag.static final NfTokenMintFlagsConstantNfTokenMintFlagsfor thetfInnerBatchTxnflag.protected static final NfTokenMintFlagsConstantNfTokenMintFlagsfor thetfOnlyXRPflag.protected static final NfTokenMintFlagsConstantNfTokenMintFlagsfor thetfTransferableflag.protected static final NfTokenMintFlagsConstantNfTokenMintFlagsfor thetfTrustLineflag.Fields inherited from class org.xrpl.xrpl4j.model.flags.TransactionFlags
EMPTY, FULLY_CANONICAL_SIG, UNSET -
Method Summary
Modifier and TypeMethodDescriptionstatic NfTokenMintFlags.Builderbuilder()Create a newNfTokenMintFlags.Builder.static NfTokenMintFlagsempty()Construct an empty instance ofNfTokenMintFlags.static NfTokenMintFlagsof(long value) ConstructNfTokenMintFlagswith a given value.booleanIf set, indicates that the minted token may be burned by the issuer even if the issuer does not currently hold the token.booleanWhether thetfInnerBatchTxnflag is set.booleanIf set, indicates that the token may only be offered or sold for XRP.booleanIf set, indicates that this NfT can be transferred.booleanIf set, indicates that the issuer wants a trustline to be automatically created.Methods inherited from class org.xrpl.xrpl4j.model.flags.TransactionFlags
tfFullyCanonicalSig
-
Field Details
-
BURNABLE
ConstantNfTokenMintFlagsfor thetfBurnableflag. -
ONLY_XRP
ConstantNfTokenMintFlagsfor thetfOnlyXRPflag. -
TRUSTLINE
ConstantNfTokenMintFlagsfor thetfTrustLineflag. -
TRANSFERABLE
ConstantNfTokenMintFlagsfor thetfTransferableflag. -
INNER_BATCH_TXN
ConstantNfTokenMintFlagsfor thetfInnerBatchTxnflag.
-
-
Method Details
-
builder
Create a newNfTokenMintFlags.Builder.- Returns:
- A new
NfTokenMintFlags.Builder.
-
of
ConstructNfTokenMintFlagswith a given value.- Parameters:
value- The long-number encoded flags value of thisNfTokenMintFlags.- Returns:
- New
NfTokenMintFlags.
-
empty
Construct an empty instance ofNfTokenMintFlags. Transactions with empty flags will not be serialized with aFlagsfield.- Returns:
- An empty
NfTokenMintFlags.
-
tfBurnable
public boolean tfBurnable()If set, indicates that the minted token may be burned by the issuer even if the issuer does not currently hold the token. The current holder of the token may always burn it.- Returns:
trueiftfBurnableis set, otherwisefalse.
-
tfOnlyXRP
public boolean tfOnlyXRP()If set, indicates that the token may only be offered or sold for XRP.- Returns:
trueiftfOnlyXRPis set, otherwisefalse.
-
tfTrustLine
public boolean tfTrustLine()If set, indicates that the issuer wants a trustline to be automatically created.- Returns:
trueiftfTrustLineis set, otherwisefalse.
-
tfTransferable
public boolean tfTransferable()If set, indicates that this NfT can be transferred. This flag has no effect if the token is being transferred from the issuer or to the issuer.- Returns:
trueiftfTransferableis set, otherwisefalse.
-
tfInnerBatchTxn
public boolean tfInnerBatchTxn()Whether thetfInnerBatchTxnflag is set.- Overrides:
tfInnerBatchTxnin classTransactionFlags- Returns:
trueiftfInnerBatchTxnis set, otherwisefalse.- See Also:
-