Package org.stellar.sdk.xdr
Class LiquidityPoolWithdrawResult
java.lang.Object
org.stellar.sdk.xdr.LiquidityPoolWithdrawResult
LiquidityPoolWithdrawResult's original definition in the XDR file is:
union LiquidityPoolWithdrawResult switch (LiquidityPoolWithdrawResultCode code) { case LIQUIDITY_POOL_WITHDRAW_SUCCESS: void; case LIQUIDITY_POOL_WITHDRAW_MALFORMED: case LIQUIDITY_POOL_WITHDRAW_NO_TRUST: case LIQUIDITY_POOL_WITHDRAW_UNDERFUNDED: case LIQUIDITY_POOL_WITHDRAW_LINE_FULL: case LIQUIDITY_POOL_WITHDRAW_UNDER_MINIMUM: void; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LiquidityPoolWithdrawResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LiquidityPoolWithdrawResult
fromXdrBase64
(String xdr) static LiquidityPoolWithdrawResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(LiquidityPoolWithdrawResultCode discriminant) toString()
default String
default byte[]
-
Constructor Details
-
LiquidityPoolWithdrawResult
public LiquidityPoolWithdrawResult() -
LiquidityPoolWithdrawResult
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
setDiscriminant
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-