Package org.stellar.sdk.xdr
Class LiquidityPoolDepositResult
java.lang.Object
org.stellar.sdk.xdr.LiquidityPoolDepositResult
LiquidityPoolDepositResult's original definition in the XDR file is:
union LiquidityPoolDepositResult switch (LiquidityPoolDepositResultCode code) { case LIQUIDITY_POOL_DEPOSIT_SUCCESS: void; case LIQUIDITY_POOL_DEPOSIT_MALFORMED: case LIQUIDITY_POOL_DEPOSIT_NO_TRUST: case LIQUIDITY_POOL_DEPOSIT_NOT_AUTHORIZED: case LIQUIDITY_POOL_DEPOSIT_UNDERFUNDED: case LIQUIDITY_POOL_DEPOSIT_LINE_FULL: case LIQUIDITY_POOL_DEPOSIT_BAD_PRICE: case LIQUIDITY_POOL_DEPOSIT_POOL_FULL: void; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LiquidityPoolDepositResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LiquidityPoolDepositResult
fromXdrBase64
(String xdr) static LiquidityPoolDepositResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(LiquidityPoolDepositResultCode discriminant) toString()
default String
default byte[]
-
Constructor Details
-
LiquidityPoolDepositResult
public LiquidityPoolDepositResult() -
LiquidityPoolDepositResult
-
-
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
-