@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-09-25T14:18:23.319Z[UTC]")
public class AccountRoutesApiImpl
extends java.lang.Object
implements AccountRoutesApi
| Constructor and Description |
|---|
AccountRoutesApiImpl() |
AccountRoutesApiImpl(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
getAccountInfo(java.lang.String accountId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountInfoDTO>> resultHandler)
Get account information
Returns the account information.
|
void |
getAccountsInfo(AccountIds accountIds,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<AccountInfoDTO>>> resultHandler)
Get accounts information
Returns the account information for an array of accounts.
|
ApiClient |
getApiClient() |
void |
searchAccounts(java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
AccountOrderByEnum orderBy,
java.lang.String mosaicId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountPage>> resultHandler)
Search accounts
Gets an array of accounts.
|
void |
setApiClient(ApiClient apiClient) |
public AccountRoutesApiImpl()
public AccountRoutesApiImpl(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void getAccountInfo(java.lang.String accountId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountInfoDTO>> resultHandler)
getAccountInfo in interface AccountRoutesApiaccountId - Account public key or address encoded using a 32-character set. (required)resultHandler - Asynchronous result handlerpublic void getAccountsInfo(AccountIds accountIds, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<AccountInfoDTO>>> resultHandler)
getAccountsInfo in interface AccountRoutesApiaccountIds - (optional)resultHandler - Asynchronous result handlerpublic void searchAccounts(java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order,
AccountOrderByEnum orderBy,
java.lang.String mosaicId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountPage>> resultHandler)
searchAccounts in interface AccountRoutesApipageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)orderBy - Sort responses by the property set. If ``balance`` option is selected, the request must define the ``mosaicId`` filter. (optional)mosaicId - Filter by mosaic identifier. (optional)resultHandler - Asynchronous result handler