Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyTrustLine
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyTrustLine
- All Implemented Interfaces:
XdrElement
- 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()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerKeyTrustLine
public LedgerKeyTrustLine() -
LedgerKeyTrustLine
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getAccountID
-
getAsset
-
setAccountID
-
setAsset
-
equals
-
hashCode
public int hashCode() -
toString
-