Class AdminService
java.lang.Object
com.dada.banking_project.services.impl.AdminService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAccount
(AccountDTO accountDTO) void
deleteAccount
(Integer id) This method deletes an account with the specified id.getAccountBalance
(Integer accountId) updateAccountBalance
(Integer accountId, BigDecimal newBalance)
-
Constructor Details
-
AdminService
public AdminService()
-
-
Method Details
-
addAccount
-
findAllAccounts
-
getAccountBalance
-
updateAccountBalance
-
deleteAccount
This method deletes an account with the specified id.- Parameters:
id
- The id of the account to be deleted.
-