Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyTrustLine
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyTrustLine
- Enclosing class:
LedgerKey
LedgerKeyTrustLine's original definition in the XDR file is:
struct
{
AccountID accountID;
TrustLineAsset asset;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerKey.LedgerKeyTrustLinedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerKey.LedgerKeyTrustLinefromXdrBase64(String xdr) static LedgerKey.LedgerKeyTrustLinefromXdrByteArray(byte[] xdr) getAsset()inthashCode()voidsetAccountID(AccountID accountID) voidsetAsset(TrustLineAsset asset) toString()default Stringdefault byte[]
-
Constructor Details
-
LedgerKeyTrustLine
public LedgerKeyTrustLine() -
LedgerKeyTrustLine
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getAccountID
-
getAsset
-
setAccountID
-
setAsset
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-