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