Package org.stellar.sdk.xdr
Class ClaimLiquidityAtom
java.lang.Object
org.stellar.sdk.xdr.ClaimLiquidityAtom
ClaimLiquidityAtom's original definition in the XDR file is:
struct ClaimLiquidityAtom { PoolID liquidityPoolID; // amount and asset taken from the pool Asset assetSold; int64 amountSold; // amount and asset sent to the pool Asset assetBought; int64 amountBought; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ClaimLiquidityAtom
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ClaimLiquidityAtom
fromXdrBase64
(String xdr) static ClaimLiquidityAtom
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setAmountBought
(Int64 amountBought) void
setAmountSold
(Int64 amountSold) void
setAssetBought
(Asset assetBought) void
setAssetSold
(Asset assetSold) void
setLiquidityPoolID
(PoolID liquidityPoolID) toString()
default String
default byte[]
-
Constructor Details
-
ClaimLiquidityAtom
public ClaimLiquidityAtom() -
ClaimLiquidityAtom
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLiquidityPoolID
-
getAssetSold
-
getAmountSold
-
getAssetBought
-
getAmountBought
-
setLiquidityPoolID
-
setAssetSold
-
setAmountSold
-
setAssetBought
-
setAmountBought
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-