Class AccountRoutesApi
- java.lang.Object
-
- io.nem.symbol.sdk.openapi.jersey2.api.AccountRoutesApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]") public class AccountRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AccountRoutesApi()AccountRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TransactionInfoDTO>getAccountConfirmedTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.ApiResponse<java.util.List<TransactionInfoDTO>>getAccountConfirmedTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.java.util.List<TransactionInfoDTO>getAccountIncomingTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get incoming transactions Gets an array of incoming transactions.ApiResponse<java.util.List<TransactionInfoDTO>>getAccountIncomingTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get incoming transactions Gets an array of incoming transactions.AccountInfoDTOgetAccountInfo(java.lang.String accountId)Get account information Returns the account information.ApiResponse<AccountInfoDTO>getAccountInfoWithHttpInfo(java.lang.String accountId)Get account information Returns the account information.java.util.List<TransactionInfoDTO>getAccountOutgoingTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get outgoing transactions Gets an array of outgoing transactions.ApiResponse<java.util.List<TransactionInfoDTO>>getAccountOutgoingTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get outgoing transactions Gets an array of outgoing transactions.java.util.List<TransactionInfoDTO>getAccountPartialTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender, recipient, or requires to cosign the transaction.ApiResponse<java.util.List<TransactionInfoDTO>>getAccountPartialTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender, recipient, or requires to cosign the transaction.java.util.List<AccountInfoDTO>getAccountsInfo(AccountIds accountIds)Get accounts information Returns the account information for an array of accounts.ApiResponse<java.util.List<AccountInfoDTO>>getAccountsInfoWithHttpInfo(AccountIds accountIds)Get accounts information Returns the account information for an array of accounts.java.util.List<TransactionInfoDTO>getAccountUnconfirmedTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.ApiResponse<java.util.List<TransactionInfoDTO>>getAccountUnconfirmedTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type)Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
AccountRoutesApi
public AccountRoutesApi()
-
AccountRoutesApi
public AccountRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getAccountConfirmedTransactions
public java.util.List<TransactionInfoDTO> getAccountConfirmedTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- List<TransactionInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountConfirmedTransactionsWithHttpInfo
public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountConfirmedTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
Get confirmed transactions Gets an array of transactions for which an account is the sender or receiver.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- ApiResponse<List<TransactionInfoDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountIncomingTransactions
public java.util.List<TransactionInfoDTO> getAccountIncomingTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
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.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- List<TransactionInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountIncomingTransactionsWithHttpInfo
public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountIncomingTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
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.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- ApiResponse<List<TransactionInfoDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountInfo
public AccountInfoDTO getAccountInfo(java.lang.String accountId) throws ApiException
Get account information Returns the account information.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)- Returns:
- AccountInfoDTO
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getAccountInfoWithHttpInfo
public ApiResponse<AccountInfoDTO> getAccountInfoWithHttpInfo(java.lang.String accountId) throws ApiException
Get account information Returns the account information.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)- Returns:
- ApiResponse<AccountInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getAccountOutgoingTransactions
public java.util.List<TransactionInfoDTO> getAccountOutgoingTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
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.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- List<TransactionInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountOutgoingTransactionsWithHttpInfo
public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountOutgoingTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
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.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- ApiResponse<List<TransactionInfoDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountPartialTransactions
public java.util.List<TransactionInfoDTO> getAccountPartialTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender, recipient, or requires to cosign the transaction.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- List<TransactionInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountPartialTransactionsWithHttpInfo
public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountPartialTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
Get aggregate bonded transactions information Gets an array of aggregate bonded transactions where the account is the sender, recipient, or requires to cosign the transaction.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- ApiResponse<List<TransactionInfoDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountUnconfirmedTransactions
public java.util.List<TransactionInfoDTO> getAccountUnconfirmedTransactions(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- List<TransactionInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountUnconfirmedTransactionsWithHttpInfo
public ApiResponse<java.util.List<TransactionInfoDTO>> getAccountUnconfirmedTransactionsWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, java.lang.String ordering, java.util.List<TransactionTypeEnum> type) throws ApiException
Get unconfirmed transactions Gets the array of transactions not included in a block where an account is the sender or receiver.- Parameters:
accountId- Account public key or address enconded using a 32-character set. (required)pageSize- Number of entries to return. (optional, default to 10)id- 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)ordering- Ordering criteria: * -id - Descending order by id. * id - Ascending order by id. (optional, default to "-id")type- Transaction type to filter by. To filter by multiple transaction types, add more filter query params like: ``type=16974&type=16718``. (optional, default to new ArrayList<>())- Returns:
- ApiResponse<List<TransactionInfoDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 409 InvalidArgument -
-
getAccountsInfo
public java.util.List<AccountInfoDTO> getAccountsInfo(AccountIds accountIds) throws ApiException
Get accounts information Returns the account information for an array of accounts.- Parameters:
accountIds- (optional)- Returns:
- List<AccountInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
getAccountsInfoWithHttpInfo
public ApiResponse<java.util.List<AccountInfoDTO>> getAccountsInfoWithHttpInfo(AccountIds accountIds) throws ApiException
Get accounts information Returns the account information for an array of accounts.- Parameters:
accountIds- (optional)- Returns:
- ApiResponse<List<AccountInfoDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
-