Interface TrustSet
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableTrustSet
Create or modify a trust line linking two accounts.
-
Field Summary
Fields inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
typeMap -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableTrustSet.Builderbuilder()Construct a builder for this class.default TrustSetFlagsflags()Set ofTrustSetFlagss for thisTrustSet, which have been properly combined to yield aTrustSetFlagsobject containing theLongrepresentation of the set bits.TheIssuedCurrencyAmountdefining the trust line to create or modify.Optional<com.google.common.primitives.UnsignedInteger> Value incoming balances on this trust line at the ratio of this number per 1,000,000,000 units.Optional<com.google.common.primitives.UnsignedInteger> Value outgoing balances on this trust line at the ratio of this number per 1,000,000,000 units.Methods inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
account, accountTransactionId, delegate, fee, lastLedgerSequence, memos, networkId, sequence, signers, signingPublicKey, sourceTag, ticketSequence, transactionFlags, transactionSignature, transactionType, unknownFields, validateDelegateNotSameAsAccount
-
Method Details
-
builder
Construct a builder for this class.- Returns:
- An
ImmutableTrustSet.Builder.
-
flags
Set ofTrustSetFlagss for thisTrustSet, which have been properly combined to yield aTrustSetFlagsobject containing theLongrepresentation of the set bits.The value of the flags can either be set manually, or constructed using
TrustSetFlags.Builder.- Returns:
- The
TrustSetFlagsfor this transaction.
-
limitAmount
IssuedCurrencyAmount limitAmount()TheIssuedCurrencyAmountdefining the trust line to create or modify.- Returns:
- An
IssuedCurrencyAmountcontaining the amount of the trust line.
-
qualityIn
Optional<com.google.common.primitives.UnsignedInteger> qualityIn()Value incoming balances on this trust line at the ratio of this number per 1,000,000,000 units. A value of 0 is shorthand for treating balances at face value.- Returns:
- An
Optionalof typeUnsignedIntegerdefining the inbound quality.
-
qualityOut
Optional<com.google.common.primitives.UnsignedInteger> qualityOut()Value outgoing balances on this trust line at the ratio of this number per 1,000,000,000 units. A value of 0 is shorthand for treating balances at face value.- Returns:
- An
Optionalof typeUnsignedIntegerdefining the outbound quality.
-