Interface TrustSet

All Superinterfaces:
Transaction
All Known Implementing Classes:
ImmutableTrustSet

@Immutable public interface TrustSet extends Transaction
Create or modify a trust line linking two accounts.
  • Method Details

    • builder

      static ImmutableTrustSet.Builder builder()
      Construct a builder for this class.
      Returns:
      An ImmutableTrustSet.Builder.
    • flags

      @Default default TrustSetFlags flags()
      Set of TrustSetFlagss for this TrustSet, which have been properly combined to yield a TrustSetFlags object containing the Long representation of the set bits.

      The value of the flags can either be set manually, or constructed using TrustSetFlags.Builder.

      Returns:
      The TrustSetFlags for this transaction.
    • limitAmount

      IssuedCurrencyAmount limitAmount()
      The IssuedCurrencyAmount defining the trust line to create or modify.
      Returns:
      An IssuedCurrencyAmount containing 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 Optional of type UnsignedInteger defining 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 Optional of type UnsignedInteger defining the outbound quality.