public List<UserTransactionsDTO> getUserTransactions(String username) { return custDAO.getUserTransactionList(username); }
// Modify user details requests public String modificationRequest(String username, ModifyUserInformation modInfo) { return custDAO.modifyUserInformationRequest(username, modInfo); }
public String genOtp(String email) { return custDAO.generateOTP(email); }
public boolean processBillPay( String loggedInUser, String accountNumber, String amountToBeTransferred) { return custDAO.billPayment(loggedInUser, accountNumber, amountToBeTransferred); }
public String debitAmountForCustomer(String username, float debitAmount) { return custDAO.debitFromUserAccount(username, debitAmount); }
public String updateAccount(CustomerInformationDTO cust) { return custDAO.updateAccount(cust); }
public String changeAccountPassword(ChangePassword cust) { return custDAO.changeAccountPassword(cust); }
public String resetPasswordService( String email, String otp, String newPassword, String confirmNewPassword) { return custDAO.resetPassword(email, otp, newPassword, confirmNewPassword); }
public boolean returnSelectionType(String username) { return custDAO.returnSelectionType(username); }
public TicketDetailDTO fetchTicketDetail(TicketInformationDTO ticketDetails) { // TODO Auto-generated method stub return custDAO.fetchTicketDetail(ticketDetails); }
public boolean approveAuthorizeTransactions(TicketDetailDTO ticketDetailDTO) { // TODO Auto-generated method stub return custDAO.approveAuthorizeTransactions(ticketDetailDTO); }
public List<TicketInformationDTO> getRejectedTicketList() { return custDAO.getRejectedTicketList(); }
public List<TicketInformationDTO> getApprovedTicketList() { return custDAO.getApprovedTicketList(); }
public boolean deleteTx(int txID) { return custDAO.deleteTransaction(txID); }
public CustomerInformationDTO getUserFromAccount(String accountNumber) { return custDAO.getUserFromAccount(accountNumber); }
public String approveBillPay(String merchantUsername, String individualUsername) { return custDAO.approveBillPay(merchantUsername, individualUsername); }
public EmployeeInformationDTO getEmployeeFromUserName(String accountNumber) { return custDAO.getEmployeeFromUserName(accountNumber); }
public boolean authorizeDeauthorizeRequestService(String username) { // TODO Auto-generated method stub return custDAO.authorizeDeauthorizeRequestDao(username); }
public String updateExternalAccount(TicketDetailDTO cust) { return custDAO.updateExternalAccount(cust); }
public List<CustomerInformationDTO> getUserPIIList() { return custDAO.getUserPIIList(); }
public String unlockAccount(CustomerInformationDTO cust) { return custDAO.unlockAccount(cust); }
public String insertCustomerInformation(CustomerInformation custInfo) throws NoSuchAlgorithmException, FileNotFoundException { return custDAO.registerCustomer(custInfo); }
public List<BillPayDTO> returnBillPaymentDetails(String username) { return custDAO.getBillPayRequestForCustomer(username); }
public String insertAddUserInformation(AddUserInformation addInfo) throws NoSuchAlgorithmException { return custDAO.addUser(addInfo); }
public String creditAmountForCustomer(String usernameLoggedIn, Float creditAmountFloat) { return custDAO.creditToUserAccount(usernameLoggedIn, creditAmountFloat); }
public List<CustomerInformationDTO> fetchUserDetails(String usernameSearch) { return custDAO.retrieveUserDetails(usernameSearch); }
public String deleteAccount(String username, boolean deleteAccount) { return custDAO.removeAccountRequest(username, deleteAccount); }
public List<EmployeeInformationDTO> getUserList() { return custDAO.getUserList(); }
public boolean activateAccount(String username) { return custDAO.activateAccountRequest(username); }
public boolean pendingTransfer( String loggedInUser, String accountNumber, String amountToBeTransferred) { return custDAO.updatePending(loggedInUser, accountNumber, amountToBeTransferred); }