Interface DepositAccountService
-
public interface DepositAccountService
-
-
Method Summary
-
-
-
Method Detail
-
getAccountsByIbanAndParamCurrency
List<DepositAccountBO> getAccountsByIbanAndParamCurrency(String iban, String currency)
Retrieve accounts by IBAN and Currency(partial/empty)- Parameters:
iban- mandatory IBANcurrency- optional or partial Currency- Returns:
- List of accounts as if currency not specified can be many
-
getAccountByIbanAndCurrency
DepositAccountBO getAccountByIbanAndCurrency(String iban, Currency currency)
Retrieve account by IBAN and Currency- Parameters:
iban- IBANcurrency- Currency- Returns:
- DepositAccount
-
getAccountById
DepositAccountBO getAccountById(String accountId)
Retrieve account by accountId- Parameters:
accountId- the account id- Returns:
- DepositAccount
-
getOptionalAccountByIbanAndCurrency
Optional<DepositAccountBO> getOptionalAccountByIbanAndCurrency(String iban, Currency currency)
-
getOptionalAccountById
Optional<DepositAccountBO> getOptionalAccountById(String accountId)
-
createNewAccount
DepositAccountBO createNewAccount(DepositAccountBO depositAccountBO, String userName, String branch)
-
getAccountDetailsByIbanAndCurrency
DepositAccountDetailsBO getAccountDetailsByIbanAndCurrency(String iban, Currency currency, LocalDateTime refTime, boolean withBalances)
-
getAccountDetailsById
DepositAccountDetailsBO getAccountDetailsById(String accountId, LocalDateTime refTime, boolean withBalances)
-
getTransactionById
TransactionDetailsBO getTransactionById(String accountId, String transactionId)
-
getTransactionsByDates
List<TransactionDetailsBO> getTransactionsByDates(String accountId, LocalDateTime dateFrom, LocalDateTime dateTo)
-
getTransactionsByDatesPaged
org.springframework.data.domain.Page<TransactionDetailsBO> getTransactionsByDatesPaged(String accountId, LocalDateTime dateFrom, LocalDateTime dateTo, org.springframework.data.domain.Pageable pageable)
-
confirmationOfFunds
boolean confirmationOfFunds(FundsConfirmationRequestBO requestBO)
-
findDetailsByBranch
List<DepositAccountDetailsBO> findDetailsByBranch(String branch)
-
findDetailsByBranchPaged
org.springframework.data.domain.Page<DepositAccountDetailsBO> findDetailsByBranchPaged(String branch, String queryParam, org.springframework.data.domain.Pageable pageable)
-
deleteTransactions
void deleteTransactions(String accountId)
-
deleteBranch
void deleteBranch(String branchId)
-
deleteUser
void deleteUser(String userId)
-
deleteAccount
void deleteAccount(String accountId)
-
rollBackBranch
void rollBackBranch(String branch, LocalDateTime revertTimestamp)
-
changeAccountsBlockedStatus
void changeAccountsBlockedStatus(String userId, boolean isSystemBlock, boolean lockStatusToSet)
-
findByBranchIdsAndMultipleParams
org.springframework.data.domain.Page<DepositAccountBO> findByBranchIdsAndMultipleParams(Collection<String> branchIds, String iban, Boolean blocked, org.springframework.data.domain.Pageable pageable)
-
changeAccountsBlockedStatus
void changeAccountsBlockedStatus(Set<String> accountIds, boolean systemBlock, boolean lockStatusToSet)
-
changeCreditLimit
void changeCreditLimit(String accountId, BigDecimal creditLimit)
-
-