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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ChangeTrustResultdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ChangeTrustResultfromXdrBase64(String xdr) static ChangeTrustResultfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(ChangeTrustResultCode discriminant) toString()default Stringdefault 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
-