AccountAdapter

interface AccountAdapter

Adapter interface for interacting with the Account Domain.

This interface provides methods to perform operations related to accounts.

Functions

Link copied to clipboard
abstract fun completeImport(bankConnectionId: String)

Completes the import process for a bank connection with the specified bankConnectionId.

Link copied to clipboard
abstract fun deleteAccount(accountId: String)

Deletes the account with the specified accountId.

Link copied to clipboard
abstract fun deleteImportedBankConnection(bankConnectionId: String)
Link copied to clipboard

Imports a bank connection using the provided importAccount request.

Link copied to clipboard
Link copied to clipboard
abstract fun importBankConnectionCallbackFinAPI(bankConnectionId: String, importBankConnectionFinAPIRequestDto: ImportBankConnectionFinAPIRequestDto)

Imports a bank connection callback from finAPI.

Link copied to clipboard
abstract fun saveAccountAlias(accountId: String, alias: String)

Saves account name/alias for the logged-in user.

Link copied to clipboard
abstract fun searchAccounts(page: Int, size: Int, sortOrder: List<SortOrder>, accountRequestData: AccountDataRequestDto, includeBankData: Boolean): AccountsResponseDto

Searches for accounts based on the specified parameters.