Package org.stellar.sdk.xdr
Class LedgerEntryExtensionV1
java.lang.Object
org.stellar.sdk.xdr.LedgerEntryExtensionV1
LedgerEntryExtensionV1's original definition in the XDR file is:
struct LedgerEntryExtensionV1 { SponsorshipDescriptor sponsoringID; union switch (int v) { case 0: void; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
LedgerEntryExtensionV1Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionLedgerEntryExtensionV1
(SponsorshipDescriptor sponsoringID, LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerEntryExtensionV1
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerEntryExtensionV1
fromXdrBase64
(String xdr) static LedgerEntryExtensionV1
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
void
setSponsoringID
(SponsorshipDescriptor sponsoringID) toString()
default String
default byte[]
-
Constructor Details
-
LedgerEntryExtensionV1
public LedgerEntryExtensionV1() -
LedgerEntryExtensionV1
public LedgerEntryExtensionV1(SponsorshipDescriptor sponsoringID, LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSponsoringID
-
getExt
-
setSponsoringID
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-