Class LedgerEntry

java.lang.Object
org.stellar.sdk.xdr.LedgerEntry

public class LedgerEntry extends Object
LedgerEntry's original definition in the XDR file is:
 struct LedgerEntry
 {
     uint32 lastModifiedLedgerSeq; // ledger the LedgerEntry was last changed

     union switch (LedgerEntryType type)
     {
     case ACCOUNT:
         AccountEntry account;
     case TRUSTLINE:
         TrustLineEntry trustLine;
     case OFFER:
         OfferEntry offer;
     case DATA:
         DataEntry data;
     case CLAIMABLE_BALANCE:
         ClaimableBalanceEntry claimableBalance;
     case LIQUIDITY_POOL:
         LiquidityPoolEntry liquidityPool;
     case CONTRACT_DATA:
         ContractDataEntry contractData;
     case CONTRACT_CODE:
         ContractCodeEntry contractCode;
     case CONFIG_SETTING:
         ConfigSettingEntry configSetting;
     case TTL:
         TTLEntry ttl;
     }
     data;

     // reserved for future use
     union switch (int v)
     {
     case 0:
         void;
     case 1:
         LedgerEntryExtensionV1 v1;
     }
     ext;
 };