public static class AccountMergeOperation.Builder
extends java.lang.Object
AccountMergeOperation| Constructor and Description |
|---|
Builder(KeyPair destination)
Creates a new AccountMerge builder.
|
| Modifier and Type | Method and Description |
|---|---|
AccountMergeOperation |
build()
Builds an operation
|
AccountMergeOperation.Builder |
setSourceAccount(KeyPair sourceAccount)
Set source account of this operation
|
public Builder(KeyPair destination)
destination - The account that receives the remaining XLM balance of the source account.public AccountMergeOperation.Builder setSourceAccount(KeyPair sourceAccount)
sourceAccount - Source accountpublic AccountMergeOperation build()