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 classstatic classLedgerEntryExtensionV1Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionLedgerEntryExtensionV1(SponsorshipDescriptor sponsoringID, LedgerEntryExtensionV1.LedgerEntryExtensionV1Ext ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerEntryExtensionV1decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerEntryExtensionV1fromXdrBase64(String xdr) static LedgerEntryExtensionV1fromXdrByteArray(byte[] xdr) getExt()inthashCode()voidvoidsetSponsoringID(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:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSponsoringID
-
getExt
-
setSponsoringID
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-