Package org.xrpl.xrpl4j.model.flags
Class BatchFlags.Builder
java.lang.Object
org.xrpl.xrpl4j.model.flags.BatchFlags.Builder
- Enclosing class:
BatchFlags
A builder class for
PaymentFlags flags.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a newPaymentFlagsfrom the current boolean values.tfAllOrNothing(boolean tfAllOrNothing) SettfAllOrNothingto the given value.tfIndependent(boolean tfIndependent) SettfIndependentto the given value.tfOnlyOne(boolean tfOnlyOne) SettfOnlyOneto the given value.tfUntilFailure(boolean tfUntilFailure) SettfLimitQualityto the given value.
-
Method Details
-
tfAllOrNothing
SettfAllOrNothingto the given value.- Parameters:
tfAllOrNothing- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
tfOnlyOne
SettfOnlyOneto the given value.- Parameters:
tfOnlyOne- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
tfUntilFailure
SettfLimitQualityto the given value.- Parameters:
tfUntilFailure- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
tfIndependent
SettfIndependentto the given value.- Parameters:
tfIndependent- A boolean value.- Returns:
- The same
PaymentFlags.Builder.
-
build
Build a newPaymentFlagsfrom the current boolean values.- Returns:
- A new
PaymentFlags.
-