Package org.stellar.sdk.xdr
Class TrustLineEntry
java.lang.Object
org.stellar.sdk.xdr.TrustLineEntry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustLineEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, TrustLineEntry encodedTrustLineEntry) booleanstatic TrustLineEntryfromXdrBase64(String xdr) static TrustLineEntryfromXdrByteArray(byte[] xdr) getAsset()getExt()getFlags()getLimit()inthashCode()voidsetAccountID(AccountID value) voidsetAsset(TrustLineAsset value) voidsetBalance(Int64 value) voidvoidvoidbyte[]
-
Constructor Details
-
TrustLineEntry
public TrustLineEntry()
-
-
Method Details
-
getAccountID
-
setAccountID
-
getAsset
-
setAsset
-
getBalance
-
setBalance
-
getLimit
-
setLimit
-
getFlags
-
setFlags
-
getExt
-
setExt
-
encode
public static void encode(XdrDataOutputStream stream, TrustLineEntry encodedTrustLineEntry) 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
-