Package org.stellar.sdk.xdr
Class AccountMergeResult
java.lang.Object
org.stellar.sdk.xdr.AccountMergeResult
AccountMergeResult's original definition in the XDR file is:
union AccountMergeResult switch (AccountMergeResultCode code) { case ACCOUNT_MERGE_SUCCESS: int64 sourceAccountBalance; // how much got transferred from source account case ACCOUNT_MERGE_MALFORMED: case ACCOUNT_MERGE_NO_ACCOUNT: case ACCOUNT_MERGE_IMMUTABLE_SET: case ACCOUNT_MERGE_HAS_SUB_ENTRIES: case ACCOUNT_MERGE_SEQNUM_TOO_FAR: case ACCOUNT_MERGE_DEST_FULL: case ACCOUNT_MERGE_IS_SPONSOR: void; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAccountMergeResult
(AccountMergeResultCode discriminant, Int64 sourceAccountBalance) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static AccountMergeResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static AccountMergeResult
fromXdrBase64
(String xdr) static AccountMergeResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(AccountMergeResultCode discriminant) void
setSourceAccountBalance
(Int64 sourceAccountBalance) toString()
default String
default byte[]
-
Constructor Details
-
AccountMergeResult
public AccountMergeResult() -
AccountMergeResult
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getSourceAccountBalance
-
setDiscriminant
-
setSourceAccountBalance
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-