Package org.stellar.sdk.operations
Class LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C extends LiquidityPoolDepositOperation,B extends LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C,B>>
java.lang.Object
org.stellar.sdk.operations.Operation.OperationBuilder<C,B>
org.stellar.sdk.operations.LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C,B>
- Enclosing class:
LiquidityPoolDepositOperation
public abstract static class LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C extends LiquidityPoolDepositOperation,B extends LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C,B>>
extends Operation.OperationBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
liquidityPoolId
(@NonNull String liquidityPoolId) maxAmountA
(@NonNull BigDecimal maxAmountA) maxAmountB
(@NonNull BigDecimal maxAmountB) Maximum deposit_a/deposit_b price.Minimum deposit_a/deposit_b price.toString()
Methods inherited from class org.stellar.sdk.operations.Operation.OperationBuilder
sourceAccount
-
Constructor Details
-
LiquidityPoolDepositOperationBuilder
public LiquidityPoolDepositOperationBuilder()
-
-
Method Details
-
liquidityPoolId
-
maxAmountA
-
maxAmountB
-
minPrice
Minimum deposit_a/deposit_b price.- Returns:
this
.
-
maxPrice
Maximum deposit_a/deposit_b price.- Returns:
this
.
-
build
- Specified by:
build
in classOperation.OperationBuilder<C extends LiquidityPoolDepositOperation,
B extends LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C, B>>
-
toString
- Overrides:
toString
in classOperation.OperationBuilder<C extends LiquidityPoolDepositOperation,
B extends LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C, B>>
-