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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAfter()getKey()getType()inthashCode()Parses theafterfield from a string to anLedgerEntryobject.Parses thebeforefield from a string to anLedgerEntryobject.parseKey()Parses thekeyfield from a string to anLedgerKeyobject.toString()
-
Constructor Details
-
LedgerEntryChange
-
-
Method Details
-
parseKey
Parses thekeyfield from a string to anLedgerKeyobject.- Returns:
- the parsed
LedgerKeyobject
-
parseBefore
Parses thebeforefield from a string to anLedgerEntryobject.- Returns:
- the parsed
LedgerEntryobject
-
parseAfter
Parses theafterfield from a string to anLedgerEntryobject.- Returns:
- the parsed
LedgerEntryobject
-
getType
-
getKey
-
getBefore
-
getAfter
-
equals
-
hashCode
public int hashCode() -
toString
-