Package org.xrpl.xrpl4j.model.flags
Class OfferCreateFlags.Builder
java.lang.Object
org.xrpl.xrpl4j.model.flags.OfferCreateFlags.Builder
- Enclosing class:
OfferCreateFlags
A builder class for
OfferCreateFlags flags.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a newOfferCreateFlagsfrom the current boolean values.tfFillOrKill(boolean tfFillOrKill) SettfFillOrKillto the given value.tfHybrid(boolean tfHybrid) SettfHybridto the given value.tfImmediateOrCancel(boolean tfImmediateOrCancel) SettfImmediateOrCancelto the given value.tfInnerBatchTxn(boolean tfInnerBatchTxn) SettfInnerBatchTxnto the given value.tfPassive(boolean tfPassive) SettfPassiveto the given value.tfSell(boolean tfSell) SettfSellto the given value.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tfPassive
SettfPassiveto the given value.- Parameters:
tfPassive- A boolean value.- Returns:
- The same
OfferCreateFlags.Builder.
-
tfImmediateOrCancel
SettfImmediateOrCancelto the given value.- Parameters:
tfImmediateOrCancel- A boolean value.- Returns:
- The same
OfferCreateFlags.Builder.
-
tfFillOrKill
SettfFillOrKillto the given value.- Parameters:
tfFillOrKill- A boolean value.- Returns:
- The same
OfferCreateFlags.Builder.
-
tfSell
SettfSellto the given value.- Parameters:
tfSell- A boolean value.- Returns:
- The same
OfferCreateFlags.Builder.
-
tfHybrid
SettfHybridto the given value.- Parameters:
tfHybrid- A boolean value.- Returns:
- The same
OfferCreateFlags.Builder.
-
tfInnerBatchTxn
SettfInnerBatchTxnto the given value.- Parameters:
tfInnerBatchTxn- A boolean value.- Returns:
- The same
OfferCreateFlags.Builder.
-
build
Build a newOfferCreateFlagsfrom the current boolean values.- Returns:
- A new
OfferCreateFlags.
-