Package org.stellar.sdk.xdr
Class RevokeSponsorshipResult
java.lang.Object
org.stellar.sdk.xdr.RevokeSponsorshipResult
RevokeSponsorshipResult's original definition in the XDR file is:
union RevokeSponsorshipResult switch (RevokeSponsorshipResultCode code) { case REVOKE_SPONSORSHIP_SUCCESS: void; case REVOKE_SPONSORSHIP_DOES_NOT_EXIST: case REVOKE_SPONSORSHIP_NOT_SPONSOR: case REVOKE_SPONSORSHIP_LOW_RESERVE: case REVOKE_SPONSORSHIP_ONLY_TRANSFERABLE: case REVOKE_SPONSORSHIP_MALFORMED: void; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static RevokeSponsorshipResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static RevokeSponsorshipResult
fromXdrBase64
(String xdr) static RevokeSponsorshipResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(RevokeSponsorshipResultCode discriminant) toString()
default String
default byte[]
-
Constructor Details
-
RevokeSponsorshipResult
public RevokeSponsorshipResult() -
RevokeSponsorshipResult
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
setDiscriminant
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-