Package org.stellar.sdk.xdr
Class ChangeTrustAsset
java.lang.Object
org.stellar.sdk.xdr.ChangeTrustAsset
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeTrustAssetdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, ChangeTrustAsset encodedChangeTrustAsset) booleanstatic ChangeTrustAssetfromXdrBase64(String xdr) static ChangeTrustAssetfromXdrByteArray(byte[] xdr) inthashCode()voidsetAlphaNum12(AlphaNum12 value) voidsetAlphaNum4(AlphaNum4 value) voidsetDiscriminant(AssetType value) voidbyte[]
-
Constructor Details
-
ChangeTrustAsset
public ChangeTrustAsset()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getAlphaNum4
-
setAlphaNum4
-
getAlphaNum12
-
setAlphaNum12
-
getLiquidityPool
-
setLiquidityPool
-
encode
public static void encode(XdrDataOutputStream stream, ChangeTrustAsset encodedChangeTrustAsset) 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
-