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, toXdrByteArray
public LedgerKeyTrustLine()
public LedgerKeyTrustLine(AccountID accountID, TrustLineAsset asset)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static LedgerKey.LedgerKeyTrustLine decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static LedgerKey.LedgerKeyTrustLine fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static LedgerKey.LedgerKeyTrustLine fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object