Package org.stellar.sdk.xdr
Class LiquidityPoolWithdrawOp
java.lang.Object
org.stellar.sdk.xdr.LiquidityPoolWithdrawOp
LiquidityPoolWithdrawOp's original definition in the XDR file is:
struct LiquidityPoolWithdrawOp { PoolID liquidityPoolID; int64 amount; // amount of pool shares to withdraw int64 minAmountA; // minimum amount of first asset to withdraw int64 minAmountB; // minimum amount of second asset to withdraw };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionLiquidityPoolWithdrawOp
(PoolID liquidityPoolID, Int64 amount, Int64 minAmountA, Int64 minAmountB) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LiquidityPoolWithdrawOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LiquidityPoolWithdrawOp
fromXdrBase64
(String xdr) static LiquidityPoolWithdrawOp
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
void
setLiquidityPoolID
(PoolID liquidityPoolID) void
setMinAmountA
(Int64 minAmountA) void
setMinAmountB
(Int64 minAmountB) toString()
default String
default byte[]
-
Constructor Details
-
LiquidityPoolWithdrawOp
public LiquidityPoolWithdrawOp() -
LiquidityPoolWithdrawOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLiquidityPoolID
-
getAmount
-
getMinAmountA
-
getMinAmountB
-
setLiquidityPoolID
-
setAmount
-
setMinAmountA
-
setMinAmountB
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-