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
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerKey.LedgerKeyTrustLine
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerKey.LedgerKeyTrustLine
fromXdrBase64
(String xdr) static LedgerKey.LedgerKeyTrustLine
fromXdrByteArray
(byte[] xdr) getAsset()
int
hashCode()
void
setAccountID
(AccountID accountID) void
setAsset
(TrustLineAsset asset) toString()
default String
default 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
-