public abstract static class LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C extends LiquidityPoolDepositOperation,B extends LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C,B>> extends Operation.OperationBuilder<C,B>
Constructor and Description |
---|
LiquidityPoolDepositOperationBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract C |
build() |
B |
liquidityPoolId(@NonNull java.lang.String liquidityPoolId) |
B |
maxAmountA(@NonNull java.math.BigDecimal maxAmountA) |
B |
maxAmountB(@NonNull java.math.BigDecimal maxAmountB) |
B |
maxPrice(@NonNull Price maxPrice)
Maximum deposit_a/deposit_b price.
|
B |
minPrice(@NonNull Price minPrice)
Minimum deposit_a/deposit_b price.
|
java.lang.String |
toString() |
sourceAccount
public LiquidityPoolDepositOperationBuilder()
public B liquidityPoolId(@NonNull @NonNull java.lang.String liquidityPoolId)
public B maxAmountA(@NonNull @NonNull java.math.BigDecimal maxAmountA)
public B maxAmountB(@NonNull @NonNull java.math.BigDecimal maxAmountB)
public B minPrice(@NonNull @NonNull Price minPrice)
this
.public B maxPrice(@NonNull @NonNull Price maxPrice)
this
.public abstract C build()
build
in class Operation.OperationBuilder<C extends LiquidityPoolDepositOperation,B extends LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C,B>>
public java.lang.String toString()
toString
in class Operation.OperationBuilder<C extends LiquidityPoolDepositOperation,B extends LiquidityPoolDepositOperation.LiquidityPoolDepositOperationBuilder<C,B>>