public static class LedgerKey.LedgerKeyTrustLine extends java.lang.Object implements XdrElement
struct
{
AccountID accountID;
TrustLineAsset asset;
}
| Modifier and Type | Class and Description |
|---|---|
static class |
LedgerKey.LedgerKeyTrustLine.LedgerKeyTrustLineBuilder |
| Constructor and Description |
|---|
LedgerKeyTrustLine() |
LedgerKeyTrustLine(AccountID accountID,
TrustLineAsset asset) |
| Modifier and Type | Method and Description |
|---|---|
static LedgerKey.LedgerKeyTrustLine.LedgerKeyTrustLineBuilder |
builder() |
static LedgerKey.LedgerKeyTrustLine |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static LedgerKey.LedgerKeyTrustLine |
fromXdrBase64(java.lang.String xdr) |
static LedgerKey.LedgerKeyTrustLine |
fromXdrByteArray(byte[] xdr) |
AccountID |
getAccountID() |
TrustLineAsset |
getAsset() |
int |
hashCode() |
void |
setAccountID(AccountID accountID) |
void |
setAsset(TrustLineAsset asset) |
LedgerKey.LedgerKeyTrustLine.LedgerKeyTrustLineBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic LedgerKeyTrustLine()
public LedgerKeyTrustLine(AccountID accountID, TrustLineAsset asset)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static LedgerKey.LedgerKeyTrustLine decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static LedgerKey.LedgerKeyTrustLine fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerKey.LedgerKeyTrustLine fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerKey.LedgerKeyTrustLine.LedgerKeyTrustLineBuilder builder()
public LedgerKey.LedgerKeyTrustLine.LedgerKeyTrustLineBuilder toBuilder()
public AccountID getAccountID()
public TrustLineAsset getAsset()
public void setAccountID(AccountID accountID)
public void setAsset(TrustLineAsset asset)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object