Package org.stellar.sdk
Class LiquidityPoolShareTrustLineAsset
java.lang.Object
org.stellar.sdk.TrustLineAsset
org.stellar.sdk.LiquidityPoolShareTrustLineAsset
- All Implemented Interfaces:
Comparable<TrustLineAsset>
Class for LiquidityPoolShareTrustLineAsset
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.stellar.sdk.TrustLineAsset
TrustLineAsset.Wrapper -
Constructor Summary
ConstructorsConstructorDescriptionLiquidityPoolShareTrustLineAsset(@NonNull LiquidityPoolID id) LiquidityPoolShareTrustLineAsset(@NonNull LiquidityPoolParameters params) Constructor -
Method Summary
Methods inherited from class org.stellar.sdk.TrustLineAsset
create, create, create, create, create, create, create, createNonNativeAsset, fromXdr
-
Constructor Details
-
LiquidityPoolShareTrustLineAsset
Constructor- Parameters:
params- the LiquidityPoolParameters
-
LiquidityPoolShareTrustLineAsset
-
-
Method Details
-
getLiquidityPoolID
Get the liquidity pool id- Returns:
- LiquidityPoolID
-
getType
Description copied from class:TrustLineAssetGet the asset type- Specified by:
getTypein classTrustLineAsset- Returns:
- the asset type
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<TrustLineAsset>- Specified by:
compareToin classTrustLineAsset
-
toXdr
Description copied from class:TrustLineAssetGenerates XDR object from a given TrustLineAsset object- Specified by:
toXdrin classTrustLineAsset- Returns:
- xdr model
-
equals
- Specified by:
equalsin classTrustLineAsset
-
hashCode
public int hashCode()
-