Package org.stellar.sdk.xdr
Class LiquidityPoolDepositOp
java.lang.Object
org.stellar.sdk.xdr.LiquidityPoolDepositOp
LiquidityPoolDepositOp's original definition in the XDR file is:
struct LiquidityPoolDepositOp { PoolID liquidityPoolID; int64 maxAmountA; // maximum amount of first asset to deposit int64 maxAmountB; // maximum amount of second asset to deposit Price minPrice; // minimum depositA/depositB Price maxPrice; // maximum depositA/depositB };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LiquidityPoolDepositOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LiquidityPoolDepositOp
fromXdrBase64
(String xdr) static LiquidityPoolDepositOp
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setLiquidityPoolID
(PoolID liquidityPoolID) void
setMaxAmountA
(Int64 maxAmountA) void
setMaxAmountB
(Int64 maxAmountB) void
setMaxPrice
(Price maxPrice) void
setMinPrice
(Price minPrice) toString()
default String
default byte[]
-
Constructor Details
-
LiquidityPoolDepositOp
public LiquidityPoolDepositOp() -
LiquidityPoolDepositOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLiquidityPoolID
-
getMaxAmountA
-
getMaxAmountB
-
getMinPrice
-
getMaxPrice
-
setLiquidityPoolID
-
setMaxAmountA
-
setMaxAmountB
-
setMinPrice
-
setMaxPrice
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-