Commit graph

36 commits

Author SHA1 Message Date
d6305b52be Implemented logging and adding to MessageLogEntry job number, dialog number and account 2022-02-07 00:18:14 +01:00
471fd0caf4 Collecting now message on JobContext (makes FinTsClient, FinTsJobExecutor and RequestExecutor state free); moved therefore Mt940AccountTransactionsParser to JobContext 2022-02-07 00:18:14 +01:00
55f5603cb9 Implemented adding errors to MessageLog 2022-02-07 00:18:14 +01:00
ae7f6328e3 Implemented passing MessageLogEntryType on to UI so that it has the possibility to translate the message prefix 2022-02-07 00:18:14 +01:00
21404242ba Temporarily commented out saving fints4k objects as Jackson doesn't serialize derived classes; losing therefore many information, leading to incorrect results 2022-02-07 00:18:08 +01:00
03d8074fda Using lazy evaluating logger method now 2022-02-07 00:18:07 +01:00
f4d8b09260 Added fetchBalanceAndTransactions to addAccount() to determine if balance and transactions should be retrieved after retrieving bank accounts of a newly added account 2022-02-07 00:18:07 +01:00
38bb0c90ff Implemented detecting if wrong credentials have been entered (not 100 % reliable though) 2022-02-07 00:18:07 +01:00
572f8d81ec Removed as e.g. when on first attempt there's no network connection, then no further attempt would be taken during whole lifetime of app 2022-02-07 00:18:07 +01:00
26e03137cd Fixed that when fintsBank could not get restored and then addAccount() fails (e.g. due to no network connection), then fintsBank contains almost no data which then got mapped to bank 2022-02-07 00:18:07 +01:00
415a3297bb In UI renamed customerId to userName; removed unused customerId from BankAccount 2022-02-07 00:18:07 +01:00
bf9d406053 Renamed usage to reference, remittee to recipient and instant payment to real-time transfer 2022-02-07 00:18:07 +01:00
60c93dedfb Renamed Customer to BankData 2022-02-07 00:18:07 +01:00
be42e3b330 Renamed TanProcedure to TanMethod in UI 2022-02-07 00:18:07 +01:00
f5f3f34d3b Renamed TanProcedure to TanMethod in fints4k 2022-02-07 00:18:07 +01:00
129b4f64fa Added account to GetTransactionsParameter 2022-02-07 00:18:07 +01:00
d8739cf193 Renamed isSuccessful to successful 2022-02-07 00:18:07 +01:00
79ebb35bc7 Added convenience constructors for when retrieving data was successful 2022-02-07 00:18:07 +01:00
2d4499514a Implemented calculating isSuccessful in AddAccountResponse and GetTransactionsResponse 2022-02-07 00:18:07 +01:00
99205b53c9 Removed bankAccount property from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
58748579b4 Updated logged message 2022-02-07 00:18:07 +01:00
0e0a7b5207 Implemented filtering out duplicate transactions as some banks return some transactions multiple times in MT940 response 2022-02-07 00:18:06 +01:00
6f354724be Fixed that when an account gets deleting its BankingClient data didn't get deleted 2022-02-07 00:18:06 +01:00
8cac7b52ee Fixed that for a new account may an old (undeleted) file with may an old, wrong password got used 2022-02-07 00:18:06 +01:00
07941380ec Extracted interfaces for UI model classes Customer, BankAccount and AccountTransaction. So entities can implement these interfaces directly, there's no need for mapping anymore 2022-02-07 00:18:06 +01:00
744af2880c Fixed that changes make in UI settings haven't been reflected in clients 2022-02-07 00:18:06 +01:00
0ea9fad7a0 Implemented restoring data directly when creating fints4kBankingClient. This also fixes that restored BankData has data that mapped BankData didn't have (like allowedJobs, pinInfo, ...) 2022-02-07 00:18:06 +01:00
63259ff404 Merged CustomerData and BankData 2022-02-07 00:18:06 +01:00
92456604bb Added BankAccount to TransferMoneyData 2022-02-07 00:18:06 +01:00
2b8c9316d0 Implemented passing Customer to fints4kBankingClient, so that fints4kBankingClient doesn't have a different Customer instance as BankingPresenter 2022-02-07 00:18:06 +01:00
321814a0ca Removed exception from Response as this only crashed iOS app. Choosing now on mapper level which message to show in UI 2022-02-07 00:18:06 +01:00
12f61b03ef Moved mkdirs() to getFints4kClientDataFile() 2022-02-07 00:17:54 +01:00
2d30047c75 Implemented fetching account data from bank if not found locally (e.g. if persisted data got deleted) 2022-02-07 00:17:54 +01:00
7424688b33 Added callbacks to FinTsClientCallback methods so that they can be responded asynchronously 2022-02-07 00:17:53 +01:00
5d12fd8f7f Refactored fints4kBankingClient to be better overrideable and to have smaller methods 2022-02-07 00:17:53 +01:00
82628d8a6b Converted fints4kBankingClient to a multi platform project 2022-02-07 00:17:53 +01:00
Renamed from ui/fints4kBankingClient/src/main/kotlin/net/dankito/banking/fints4kBankingClient.kt (Browse further)