Class AccountRoutesApiImpl

  • All Implemented Interfaces:
    AccountRoutesApi

    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-01-01T18:24:23.294947664-03:00[America/Argentina/Buenos_Aires]")
    public class AccountRoutesApiImpl
    extends java.lang.Object
    implements AccountRoutesApi
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getAccountConfirmedTransactions​(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum type, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
      Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.
      void getAccountIncomingTransactions​(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum type, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
      Get incoming transactions Gets an array of incoming transactions.
      void getAccountInfo​(java.lang.String accountId, io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountInfoDTO>> resultHandler)
      Get account information Returns the account information.
      void getAccountOutgoingTransactions​(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum type, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
      Get outgoing transactions Gets an array of outgoing transactions.
      void getAccountPartialTransactions​(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum type, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
      Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender or requires to cosign the transaction.
      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.
      void getAccountUnconfirmedTransactions​(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, TransactionTypeEnum type, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
      Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.
      ApiClient getApiClient()  
      void setApiClient​(ApiClient apiClient)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccountRoutesApiImpl

        public AccountRoutesApiImpl()
      • AccountRoutesApiImpl

        public AccountRoutesApiImpl​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getAccountConfirmedTransactions

        public void getAccountConfirmedTransactions​(java.lang.String accountId,
                                                    java.lang.Integer pageSize,
                                                    java.lang.String id,
                                                    java.lang.String ordering,
                                                    TransactionTypeEnum type,
                                                    io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.
        Specified by:
        getAccountConfirmedTransactions in interface AccountRoutesApi
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        resultHandler - Asynchronous result handler
      • getAccountIncomingTransactions

        public void getAccountIncomingTransactions​(java.lang.String accountId,
                                                   java.lang.Integer pageSize,
                                                   java.lang.String id,
                                                   java.lang.String ordering,
                                                   TransactionTypeEnum type,
                                                   io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        Get incoming transactions Gets an array of incoming transactions. A transaction is said to be incoming with respect to an account if the account is the recipient of the transaction.
        Specified by:
        getAccountIncomingTransactions in interface AccountRoutesApi
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        resultHandler - Asynchronous result handler
      • getAccountInfo

        public void getAccountInfo​(java.lang.String accountId,
                                   io.vertx.core.Handler<io.vertx.core.AsyncResult<AccountInfoDTO>> resultHandler)
        Get account information Returns the account information.
        Specified by:
        getAccountInfo in interface AccountRoutesApi
        Parameters:
        accountId - Account public key or address. (required)
        resultHandler - Asynchronous result handler
      • getAccountOutgoingTransactions

        public void getAccountOutgoingTransactions​(java.lang.String accountId,
                                                   java.lang.Integer pageSize,
                                                   java.lang.String id,
                                                   java.lang.String ordering,
                                                   TransactionTypeEnum type,
                                                   io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        Get outgoing transactions Gets an array of outgoing transactions. A transaction is said to be outgoing with respect to an account if the account is the sender of the transaction.
        Specified by:
        getAccountOutgoingTransactions in interface AccountRoutesApi
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        resultHandler - Asynchronous result handler
      • getAccountPartialTransactions

        public void getAccountPartialTransactions​(java.lang.String accountId,
                                                  java.lang.Integer pageSize,
                                                  java.lang.String id,
                                                  java.lang.String ordering,
                                                  TransactionTypeEnum type,
                                                  io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender or requires to cosign the transaction.
        Specified by:
        getAccountPartialTransactions in interface AccountRoutesApi
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        resultHandler - Asynchronous result handler
      • getAccountUnconfirmedTransactions

        public void getAccountUnconfirmedTransactions​(java.lang.String accountId,
                                                      java.lang.Integer pageSize,
                                                      java.lang.String id,
                                                      java.lang.String ordering,
                                                      TransactionTypeEnum type,
                                                      io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<TransactionInfoDTO>>> resultHandler)
        Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.
        Specified by:
        getAccountUnconfirmedTransactions in interface AccountRoutesApi
        Parameters:
        accountId - Account public key or address. (required)
        pageSize - Number of transactions to return for each request. (optional, default to 10)
        id - Transaction identifier up to which transactions are returned. (optional)
        ordering - Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")
        type - Transaction type to filter by. (optional)
        resultHandler - Asynchronous result handler
      • getAccountsInfo

        public 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.
        Specified by:
        getAccountsInfo in interface AccountRoutesApi
        Parameters:
        accountIds - (optional)
        resultHandler - Asynchronous result handler