Package org.stellar.sdk.xdr
Class ClawbackResult
java.lang.Object
org.stellar.sdk.xdr.ClawbackResult
ClawbackResult's original definition in the XDR file is:
union ClawbackResult switch (ClawbackResultCode code) { case CLAWBACK_SUCCESS: void; case CLAWBACK_MALFORMED: case CLAWBACK_NOT_CLAWBACK_ENABLED: case CLAWBACK_NO_TRUST: case CLAWBACK_UNDERFUNDED: void; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ClawbackResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ClawbackResult
fromXdrBase64
(String xdr) static ClawbackResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(ClawbackResultCode discriminant) toString()
default String
default byte[]
-
Constructor Details
-
ClawbackResult
public ClawbackResult() -
ClawbackResult
-
-
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
-