Commit graph

91 commits

Author SHA1 Message Date
ed784f1827 Renamed errorMessage to internalError, errorsToShowToUser to errorMessagesFromBank, added didBankReturnError and created a method to determine which error message to show to user 2022-02-07 00:18:14 +01:00
1356249621 Added getTanMediaList() to retrieveBasicDataLikeUsersTanMethods() as may for other calls like getTransactions() this is a requirement to be able to establish strong authentication dialog (only known bank till now: Postbank) 2022-02-07 00:18:14 +01:00
cb25a2294a Added getUsersTanMethod() to retrieveBasicDataLikeUsersTanMethods() so that it's callers don't have to do this 2022-02-07 00:18:14 +01:00
356b0f7823 Made callback settable (required for fints4kRest 2022-02-07 00:18:14 +01:00
e30127415c Fixed that if TAN is required but we have been told to abort if requiring TAN, RetrievedAccountData is now set to successful 2022-02-07 00:18:14 +01:00
cc99ebdbce Fixed substracting 90 days as previous implementation had an issue when crossing daylight saving changes (wenn die Zeitumstellung innerhalb der letzten 90 Tage lag) 2022-02-07 00:18:14 +01:00
9c9ebb9d57 Fixed that if fetchBalanceAndTransactions was set to false accounts haven't been returned 2022-02-07 00:18:14 +01:00
a4ebdfec8c Added return to make it clearer that code below doesn't get called 2022-02-07 00:18:14 +01:00
b6a0e48fd7 Extracted FinTsJobExecutor to separate high level methods of FinTsClient that group multiple low level jobs from FinTsJobExecutor that executes that low level jobs (= FinTS Geschäftsvorfälle) 2022-02-07 00:18:14 +01:00
7eb35eba55 Removed unused getTanMediaListAsync() 2022-02-07 00:18:14 +01:00
b0afdde7e3 Added infrastructure for automatically retrieving if user entered decoupled TAN 2022-02-07 00:18:14 +01:00
c5bddd94b0 Implemented that errors when retrieving account transactions get displayed in UI 2022-02-07 00:18:14 +01:00
17110a794c Renamed transactionsSegment to creditCardTransactionsSegment 2022-02-07 00:18:14 +01:00
ef1c927d27 Implemented mapping DecoupledTanMethodParameters 2022-02-07 00:18:14 +01:00
e08076de17 Implemented parsing HITANS version 7 2022-02-07 00:18:14 +01:00
06ef511892 Implemented adding errors of ResponseParser, Mt940Parser and Mt940AccountTransactionsParser to MessageLog 2022-02-07 00:18:14 +01:00
55f5603cb9 Implemented adding errors to MessageLog 2022-02-07 00:18:14 +01:00
87e272565f Extracted 2022-02-07 00:18:14 +01:00
ae37442d86 Added parsing transactionDescriptionSupplement 2022-02-07 00:18:13 +01:00
45f926055f Removed setting bank name to value in bank parameters as this value contains a lot of confusing and irrelevant names (like DB24 for Deutsche Bank and Rechenzentrum Bayer. Gen. for Bavarian Raiffeisen banks) 2022-02-07 00:18:13 +01:00
df4c8c4a1a Implemented that () returns if a TAN method got selected 2022-02-07 00:18:08 +01:00
269ad0bb33 Mapping accounts named 'Tagesgeld' to Sparkonto as according to Wikipedia some direct banks offer 'Tagesgeldkonten' as a modern version of Sparkonto 2022-02-07 00:18:08 +01:00
229da4efc8 Calling askUserForTanMethod() instead of selecting user's TAN method automatically 2022-02-07 00:18:08 +01:00
24dfe34c1f Implemented calling getTanMediaList() only if retrieving TAN media is supported 2022-02-07 00:18:08 +01:00
63ec9e074a Fixed that getUsersTanMethod() is async but caller had no chance to wait for response 2022-02-07 00:18:08 +01:00
ee38799cad Replaced areWeThatGentleToCloseDialogs by DialogContext.closeDialog 2022-02-07 00:18:08 +01:00
95736a8150 Removed unused messageMayRequiresTan 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
9e5b18a522 Renamed initDialog() to initDialogWithStrongCustomerAuthentication() 2022-02-07 00:18:07 +01:00
dd01c7416a Replaced newUserInfoResponse by getAccountsResponse 2022-02-07 00:18:07 +01:00
5580313eeb Setting countDaysForWhichTransactionsAreKept now on account and not on bank anymore as the count may differs from account type to account type (e.g. 540 days for checking accounts and 9999 days for credit card accounts) 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
e0dbd00634 Implemented retrieving credit card transactions 2022-02-07 00:18:07 +01:00
d16450d46b Stopping execution now only if a severe error occurred during balance retrieval that closed dialog 2022-02-07 00:18:07 +01:00
c7d6718cce Fixed that if alsoRetrieveBalance is set to false or account doesn't support retrieving balance execution stops here forever and never returns 2022-02-07 00:18:07 +01:00
dee6f4aebe Making use of supportXyz convenience properties 2022-02-07 00:18:07 +01:00
7d8d1eb6d0 Implemented returning default / unsuccessful RetrievedAccountData also for accounts that do not support retrieving transactions or balance 2022-02-07 00:18:07 +01:00
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