Package org.stellar.sdk.xdr
Class AccountEntryExtensionV2
java.lang.Object
org.stellar.sdk.xdr.AccountEntryExtensionV2
AccountEntryExtensionV2's original definition in the XDR file is:
struct AccountEntryExtensionV2 { uint32 numSponsored; uint32 numSponsoring; SponsorshipDescriptor signerSponsoringIDs<MAX_SIGNERS>; union switch (int v) { case 0: void; case 3: AccountEntryExtensionV3 v3; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
AccountEntryExtensionV2Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionAccountEntryExtensionV2
(Uint32 numSponsored, Uint32 numSponsoring, SponsorshipDescriptor[] signerSponsoringIDs, AccountEntryExtensionV2.AccountEntryExtensionV2Ext ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static AccountEntryExtensionV2
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static AccountEntryExtensionV2
fromXdrBase64
(String xdr) static AccountEntryExtensionV2
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
void
setNumSponsored
(Uint32 numSponsored) void
setNumSponsoring
(Uint32 numSponsoring) void
setSignerSponsoringIDs
(SponsorshipDescriptor[] signerSponsoringIDs) toString()
default String
default byte[]
-
Constructor Details
-
AccountEntryExtensionV2
public AccountEntryExtensionV2() -
AccountEntryExtensionV2
public AccountEntryExtensionV2(Uint32 numSponsored, Uint32 numSponsoring, SponsorshipDescriptor[] signerSponsoringIDs, AccountEntryExtensionV2.AccountEntryExtensionV2Ext ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getNumSponsored
-
getNumSponsoring
-
getSignerSponsoringIDs
-
getExt
-
setNumSponsored
-
setNumSponsoring
-
setSignerSponsoringIDs
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-