Class RippleStateFlags

java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.RippleStateFlags

public class RippleStateFlags extends Flags
A set of static Flags which can be set on RippleStateObjects.
  • Field Details

  • Method Details

    • of

      public static RippleStateFlags of(long value)
      Construct RippleStateFlags with a given value.
      Parameters:
      value - The long-number encoded flags value of this RippleStateFlags.
      Returns:
      New RippleStateFlags.
    • lsfLowReserve

      public boolean lsfLowReserve()
      Returns:
      true if lsfLowReserve is set, otherwise false.
    • lsfHighReserve

      public boolean lsfHighReserve()
      Returns:
      true if lsfHighReserve is set, otherwise false.
    • lsfLowAuth

      public boolean lsfLowAuth()
      The low account has authorized the high account to hold the low account's issued currency.
      Returns:
      true if lsfLowAuth is set, otherwise false.
    • lsfHighAuth

      public boolean lsfHighAuth()
      The high account has authorized the low account to hold the high account's issued currency.
      Returns:
      true if lsfHighAuth is set, otherwise false.
    • lsfLowNoRipple

      public boolean lsfLowNoRipple()
      The low account has disabled rippling from this trust line.
      Returns:
      true if lsfLowNoRipple is set, otherwise false.
    • lsfHighNoRipple

      public boolean lsfHighNoRipple()
      The high account has disabled rippling from this trust line.
      Returns:
      true if lsfHighNoRipple is set, otherwise false.
    • lsfLowFreeze

      public boolean lsfLowFreeze()
      The low account has frozen the trust line, preventing the high account from transferring the asset.
      Returns:
      true if lsfLowFreeze is set, otherwise false.
    • lsfHighFreeze

      public boolean lsfHighFreeze()
      The high account has frozen the trust line, preventing the low account from transferring the asset.
      Returns:
      true if lsfHighFreeze is set, otherwise false.
    • lsfLowDeepFreeze

      public boolean lsfLowDeepFreeze()
      The low account has deep-frozen the trust line, preventing the high account from sending and receiving the asset.
      Returns:
      true if lsfLowDeepFreeze is set, otherwise false.
    • lsfHighDeepFreeze

      public boolean lsfHighDeepFreeze()
      The high account has deep-frozen the trust line, preventing the low account from sending and receiving the asset.
      Returns:
      true if lsfHighDeepFreeze is set, otherwise false.