Package org.stellar.sdk.xdr
Class RevokeSponsorshipOp
java.lang.Object
org.stellar.sdk.xdr.RevokeSponsorshipOp
RevokeSponsorshipOp's original definition in the XDR file is:
union RevokeSponsorshipOp switch (RevokeSponsorshipType type) { case REVOKE_SPONSORSHIP_LEDGER_ENTRY: LedgerKey ledgerKey; case REVOKE_SPONSORSHIP_SIGNER: struct { AccountID accountID; SignerKey signerKey; } signer; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
RevokeSponsorshipOpSigner's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionRevokeSponsorshipOp
(RevokeSponsorshipType discriminant, LedgerKey ledgerKey, RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static RevokeSponsorshipOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static RevokeSponsorshipOp
fromXdrBase64
(String xdr) static RevokeSponsorshipOp
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(RevokeSponsorshipType discriminant) void
setLedgerKey
(LedgerKey ledgerKey) void
toString()
default String
default byte[]
-
Constructor Details
-
RevokeSponsorshipOp
public RevokeSponsorshipOp() -
RevokeSponsorshipOp
public RevokeSponsorshipOp(RevokeSponsorshipType discriminant, LedgerKey ledgerKey, RevokeSponsorshipOp.RevokeSponsorshipOpSigner signer)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getLedgerKey
-
getSigner
-
setDiscriminant
-
setLedgerKey
-
setSigner
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-