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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static RevokeSponsorshipResultdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic RevokeSponsorshipResultfromXdrBase64(String xdr) static RevokeSponsorshipResultfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(RevokeSponsorshipResultCode discriminant) toString()default Stringdefault 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
-