Package org.stellar.sdk.xdr
Class TrustLineAsset
java.lang.Object
org.stellar.sdk.xdr.TrustLineAsset
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustLineAssetdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, TrustLineAsset encodedTrustLineAsset) booleanstatic TrustLineAssetfromXdrBase64(String xdr) static TrustLineAssetfromXdrByteArray(byte[] xdr) inthashCode()voidsetAlphaNum12(AlphaNum12 value) voidsetAlphaNum4(AlphaNum4 value) voidsetDiscriminant(AssetType value) voidsetLiquidityPoolID(PoolID value) byte[]
-
Constructor Details
-
TrustLineAsset
public TrustLineAsset()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getAlphaNum4
-
setAlphaNum4
-
getAlphaNum12
-
setAlphaNum12
-
getLiquidityPoolID
-
setLiquidityPoolID
-
encode
public static void encode(XdrDataOutputStream stream, TrustLineAsset encodedTrustLineAsset) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-