public final class LiquidityPoolShareTrustLineAsset extends TrustLineAsset
TrustLineAsset.Wrapper
Constructor and Description |
---|
LiquidityPoolShareTrustLineAsset(LiquidityPoolID id)
Constructor
|
LiquidityPoolShareTrustLineAsset(LiquidityPoolParameters params)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TrustLineAsset other) |
boolean |
equals(java.lang.Object object) |
LiquidityPoolID |
getLiquidityPoolID()
Get the liquidity pool id
|
java.lang.String |
getType()
Get the asset type
|
int |
hashCode() |
java.lang.String |
toString() |
org.stellar.sdk.xdr.TrustLineAsset |
toXdr()
Generates XDR object from a given TrustLineAsset object
|
create, create, create, create, create, create, create, createNonNativeAsset, fromXdr
public LiquidityPoolShareTrustLineAsset(LiquidityPoolParameters params)
params
- the LiquidityPoolParameterspublic LiquidityPoolShareTrustLineAsset(LiquidityPoolID id)
id
- the LiquidityPoolIDpublic LiquidityPoolID getLiquidityPoolID()
public java.lang.String getType()
TrustLineAsset
getType
in class TrustLineAsset
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class TrustLineAsset
public int compareTo(TrustLineAsset other)
compareTo
in interface java.lang.Comparable<TrustLineAsset>
compareTo
in class TrustLineAsset
public org.stellar.sdk.xdr.TrustLineAsset toXdr()
TrustLineAsset
toXdr
in class TrustLineAsset