Commit graph

54 commits

Author SHA1 Message Date
b99522fda9 Renamed nameOfTanMediaRequired to nameOfTanMediumRequired 2022-02-07 00:18:07 +01:00
1ff2c0ecf3 Renamed messageLogField to messageLog 2022-02-07 00:18:07 +01:00
50505831ea Removed outdated 'Customer' from method name 2022-02-07 00:18:07 +01:00
f96e7a4b30 Fixed setting ninety days ago to from midnight on so that retrievedTransactionsFromOn gets set correctly -> check in BankingPresenter if all transactions have been fetched also works for this day 2022-02-07 00:18:07 +01:00
13d95f4bda Implemented storing and displaying for which period account transactions have been fetched 2022-02-07 00:18:07 +01:00
700e3e6da9 Implemented mapping and displaying if an account type is supported or not 2022-02-07 00:18:07 +01:00
a59b335316 If account type field is not set (as it e.g. comdirect does), trying to extract account type from account name 2022-02-07 00:18:07 +01:00
f5f3f34d3b Renamed TanProcedure to TanMethod in fints4k 2022-02-07 00:18:07 +01:00
094d669148 Implemented evaluating count days for which bank stores transactions -> don't show fetch all transactions overlay if bank server doesn't store additional transactions 2022-02-07 00:18:07 +01:00
7a64177d47 Renamed Response to BankResponse 2022-02-07 00:18:07 +01:00
c576673efb Refactored that all internal methods return Response and only public methods return FinTsClientResponse. Fixes bug that when internal methods returned AddAccountResponse successful was false as at this point no account have been added yet 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
ec3cdb1c39 Added convenience constructor for when an error occurred 2022-02-07 00:18:07 +01:00
2d4499514a Implemented calculating isSuccessful in AddAccountResponse and GetTransactionsResponse 2022-02-07 00:18:07 +01:00
044648f569 Calculating supportsRetrievingTransactionsOfLast90DaysWithoutTan now from retrieved data (but try to get rid of it anyway) 2022-02-07 00:18:07 +01:00
99205b53c9 Removed bankAccount property from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
7cb19d6f7d Extracted RetrievedAccountData, makes code way better readable 2022-02-07 00:18:07 +01:00
f4128a2875 Implemented checking if bank supports setting count max entries. Had to adjust Jackson serialization so that and not just JobParameters gets saved and restored and to implement a lot of default constructors for this 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
0f672f414b Fixed that when entering TAN is required chunkedResponseHandler got called for same handledResponse multiple time, therefore adding e.g. same transactions multiple times to bookedTransactions 2022-02-07 00:18:06 +01:00
63259ff404 Merged CustomerData and BankData 2022-02-07 00:18:06 +01:00
49d34f1733 Removed unused supportsRetrievingTransactionsOfLast90DaysWithoutTan and triedToRetrieveTransactionsOfLast90DaysWithoutTan 2022-02-07 00:18:06 +01:00
61d9923230 Implemented resetting selected TAN procedures if user's TAN procedures doesn't contain selected one anymore (should almost never be the case) 2022-02-07 00:18:06 +01:00
458da2a542 Fixed (once again) that Comdirect returns an error when fetching user's TAN procedure with TAN procedure code '999' but returns user's TAN procedures anyway 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
c8f29e2390 Implemented passing allowed TAN format and max TAN input length to UI so that controls can be set accordingly 2022-02-07 00:18:06 +01:00
392c473056 Implemented that if retrieving account transactions is not supported but retrieving balances, at least balances get retrieved 2022-02-07 00:18:06 +01:00
3160ebaa2c Fixed that GetUserTanProceduresResponse isn't required anymore 2022-02-07 00:18:06 +01:00
7649df6a6b Fixed that if getting user's TAN procedures fails method didn't stop / still continued 2022-02-07 00:18:06 +01:00
989bbd65aa Implemented that if a TAN procedure requires specifying TAN media name, that any tan media name gets supplied (in my tests it made absolutely no difference if the TAN media matches the TAN procedure) 2022-02-07 00:18:06 +01:00
4cbbbfbe48 Implemented initializing dialog without strong customer authentication (but HKTAN is sent anyway) which is required that is essential for authenticated dialogs, e.g. TAN media which require some banks to be able to initialize an authenticated dialog 2022-02-07 00:18:06 +01:00
529467623c As getUsersTanProcedures() doesn't fetch user's bank accounts anymore I added getAccounts() 2022-02-07 00:18:06 +01:00
b07e84b31c Implemented retrieving user's TAN procedures with a non-strong authenticated dialog init with one step TAN procedure (the only process where one step TAN procedure is still allowed) as some banks like Postbank require this 2022-02-07 00:18:06 +01:00
d444baeda8 Fixed that if there are no accounts supporting retrieving account transactions addAccountAsync() never returns 2022-02-07 00:17:54 +01:00
1e987e63ea Adjusting bank name for Deutsche Bank 2022-02-07 00:17:54 +01:00
45d4f4ae46 Fixed that if continuationId is set and followUpResponse != null, then callback hasn't been called 2022-02-07 00:17:53 +01:00
7424688b33 Added callbacks to FinTsClientCallback methods so that they can be responded asynchronously 2022-02-07 00:17:53 +01:00
2889d1b0ce Refactored handling TAN required methods 2022-02-07 00:17:53 +01:00
d18e939818 Fixed that erroneously an error got returned even though lastCreatedMessage was set 2022-02-07 00:17:53 +01:00
5e2e06b183 Fixed logging exception 2022-02-07 00:17:53 +01:00
b5622a5d90 Fixed that user hasn't been asked for his/her TAN procedure 2022-02-07 00:17:53 +01:00
3b3ada38ca Removed -Async() methods with coroutines as methods now become (except on iOS) async through IWebClient 2022-02-07 00:17:53 +01:00
8e221f17ce Made IWebClient and FinTsClient async so that on iOS everything but the web request can run on the main thread -> we don't need to freeze objects to pass them between threads 2022-02-07 00:17:53 +01:00
19c8e4ea8e Using now Date and UUID from common in fints4k. Could therefore remove klock 2022-02-07 00:17:53 +01:00
d50f458ef4 Extracted Logger to new module common 2022-02-07 00:17:53 +01:00
7e19930742 Forgot to commit removed suspend 2022-02-07 00:17:53 +01:00
52ee0a0f73 Removed suspend from methods as coroutines don't really work in Kotlin/Native 2022-02-07 00:17:53 +01:00
9a5e0a1098 Made FinTsClient methods suspendable; could remove ThreadPool for that 2022-02-07 00:17:53 +01:00
16707aa70a Added a quick fix for logging in to e.g. Deutsche Bank. TODO: find a general solution 2022-02-07 00:17:53 +01:00