Class SimulateTransactionResponse.LedgerEntryChange
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.SimulateTransactionResponse.LedgerEntryChange
- Enclosing class:
SimulateTransactionResponse
LedgerEntryChange designates a change in a ledger entry. Before and After cannot be omitted at
the same time. If Before is omitted, it constitutes a creation, if After is omitted, it
constitutes a deletion.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAfter()
getKey()
getType()
int
hashCode()
Parses theafter
field from a string to anLedgerEntry
object.Parses thebefore
field from a string to anLedgerEntry
object.parseKey()
Parses thekey
field from a string to anLedgerKey
object.toString()
-
Constructor Details
-
LedgerEntryChange
-
-
Method Details
-
parseKey
Parses thekey
field from a string to anLedgerKey
object.- Returns:
- the parsed
LedgerKey
object
-
parseBefore
Parses thebefore
field from a string to anLedgerEntry
object.- Returns:
- the parsed
LedgerEntry
object
-
parseAfter
Parses theafter
field from a string to anLedgerEntry
object.- Returns:
- the parsed
LedgerEntry
object
-
getType
-
getKey
-
getBefore
-
getAfter
-
equals
-
hashCode
public int hashCode() -
toString
-