Class OfferFlags

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

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

  • Method Details

    • of

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

      public boolean lsfPassive()
      The object was placed as a passive offer. This has no effect on the object in the ledger.
      Returns:
      true if lsfPassive is set, otherwise false.
    • lsfSell

      public boolean lsfSell()
      The object was placed as a sell offer. This has no effect on the object in the ledger (because tfSell only matters if you get a better rate than you asked for, which cannot happen after the object enters the ledger).
      Returns:
      true if lsfSell is set, otherwise false.
    • lsfHybrid

      public boolean lsfHybrid()
      Indicates the offer is hybrid. (meaning it is part of both a domain and open order book).
      Returns:
      true if lsfHybrid is set, otherwise false.