Package org.stellar.sdk.xdr
Class LedgerEntryExtensionV1
java.lang.Object
org.stellar.sdk.xdr.LedgerEntryExtensionV1
- All Implemented Interfaces:
XdrElement
LedgerEntryExtensionV1's original definition in the XDR file is:
struct LedgerEntryExtensionV1 { SponsorshipDescriptor sponsoringID; union switch (int v) { case 0: void; } ext; };
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
LedgerEntryExtensionV1Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionLedgerEntryExtensionV1
(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()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerEntryExtensionV1
public LedgerEntryExtensionV1() -
LedgerEntryExtensionV1
public LedgerEntryExtensionV1(SponsorshipDescriptor sponsoringID, LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext ext)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSponsoringID
-
getExt
-
setSponsoringID
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-