Package org.xrpl.xrpl4j.model.flags
Class PaymentFlags.Builder
java.lang.Object
org.xrpl.xrpl4j.model.flags.PaymentFlags.Builder
- Enclosing class:
PaymentFlags
A builder class for
PaymentFlags flags.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a newPaymentFlagsfrom the current boolean values.tfInnerBatchTxn(boolean tfInnerBatchTxn) SettfInnerBatchTxnto the given value.tfLimitQuality(boolean tfLimitQuality) SettfLimitQualityto the given value.tfNoDirectRipple(boolean tfNoDirectRipple) SettfNoDirectRippleto the given value.tfPartialPayment(boolean tfPartialPayment) SettfPartialPaymentto the given value.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tfNoDirectRipple
SettfNoDirectRippleto the given value.- Parameters:
tfNoDirectRipple- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
tfPartialPayment
SettfPartialPaymentto the given value.- Parameters:
tfPartialPayment- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
tfLimitQuality
SettfLimitQualityto the given value.- Parameters:
tfLimitQuality- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
tfInnerBatchTxn
SettfInnerBatchTxnto the given value.- Parameters:
tfInnerBatchTxn- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
build
Build a newPaymentFlagsfrom the current boolean values.- Returns:
- A new
PaymentFlags.
-