Package org.stellar.sdk.xdr
Class LedgerKey
java.lang.Object
org.stellar.sdk.xdr.LedgerKey
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LedgerKeydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, LedgerKey encodedLedgerKey) booleanstatic LedgerKeyfromXdrBase64(String xdr) static LedgerKeyfromXdrByteArray(byte[] xdr) getData()getOffer()getTtl()inthashCode()voidvoidvoidvoidvoidvoidsetData(LedgerKey.LedgerKeyData value) voidsetDiscriminant(LedgerEntryType value) voidvoidsetOffer(LedgerKey.LedgerKeyOffer value) voidvoidsetTtl(LedgerKey.LedgerKeyTtl value) byte[]
-
Constructor Details
-
LedgerKey
public LedgerKey()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getAccount
-
setAccount
-
getTrustLine
-
setTrustLine
-
getOffer
-
setOffer
-
getData
-
setData
-
getClaimableBalance
-
setClaimableBalance
-
getLiquidityPool
-
setLiquidityPool
-
getContractData
-
setContractData
-
getContractCode
-
setContractCode
-
getConfigSetting
-
setConfigSetting
-
getTtl
-
setTtl
-
encode
public static void encode(XdrDataOutputStream stream, LedgerKey encodedLedgerKey) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-