@Service public class AccountTransactionService extends Object
| Constructor and Description |
|---|
AccountTransactionService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validateTransactions(TransactionData t,
boolean strict)
Validate if all transactions listed in the upload file are in the database.
|
public boolean validateTransactions(TransactionData t, boolean strict) throws IOException
t - : the data holderstrict - : if there is more transaction in that time frame, return true.IOException - : errorCopyright © 2019. All rights reserved.