Class PaymentFlags.Builder

java.lang.Object
org.xrpl.xrpl4j.model.flags.PaymentFlags.Builder
Enclosing class:
PaymentFlags

public static class PaymentFlags.Builder extends Object
A builder class for PaymentFlags flags.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • tfNoDirectRipple

      public PaymentFlags.Builder tfNoDirectRipple(boolean tfNoDirectRipple)
      Set tfNoDirectRipple to the given value.
      Parameters:
      tfNoDirectRipple - A boolean value.
      Returns:
      The same PaymentFlags.Builder.
    • tfPartialPayment

      public PaymentFlags.Builder tfPartialPayment(boolean tfPartialPayment)
      Set tfPartialPayment to the given value.
      Parameters:
      tfPartialPayment - A boolean value.
      Returns:
      The same PaymentFlags.Builder.
    • tfLimitQuality

      public PaymentFlags.Builder tfLimitQuality(boolean tfLimitQuality)
      Set tfLimitQuality to the given value.
      Parameters:
      tfLimitQuality - A boolean value.
      Returns:
      The same PaymentFlags.Builder.
    • tfInnerBatchTxn

      public PaymentFlags.Builder tfInnerBatchTxn(boolean tfInnerBatchTxn)
      Set tfInnerBatchTxn to the given value.
      Parameters:
      tfInnerBatchTxn - A boolean value.
      Returns:
      The same PaymentFlags.Builder.
    • build

      public PaymentFlags build()
      Build a new PaymentFlags from the current boolean values.
      Returns:
      A new PaymentFlags.