Package org.stellar.sdk.xdr
Class ChangeTrustResult
java.lang.Object
org.stellar.sdk.xdr.ChangeTrustResult
ChangeTrustResult's original definition in the XDR file is:
union ChangeTrustResult switch (ChangeTrustResultCode code) { case CHANGE_TRUST_SUCCESS: void; case CHANGE_TRUST_MALFORMED: case CHANGE_TRUST_NO_ISSUER: case CHANGE_TRUST_INVALID_LIMIT: case CHANGE_TRUST_LOW_RESERVE: case CHANGE_TRUST_SELF_NOT_ALLOWED: case CHANGE_TRUST_TRUST_LINE_MISSING: case CHANGE_TRUST_CANNOT_DELETE: case CHANGE_TRUST_NOT_AUTH_MAINTAIN_LIABILITIES: void; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ChangeTrustResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ChangeTrustResult
fromXdrBase64
(String xdr) static ChangeTrustResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(ChangeTrustResultCode discriminant) toString()
default String
default byte[]
-
Constructor Details
-
ChangeTrustResult
public ChangeTrustResult() -
ChangeTrustResult
-
-
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
-