Commit Graph

301 Commits

Author SHA1 Message Date
dankito 7d185a805c Using now JobContext as MessageBaseData 2022-02-07 00:18:14 +01:00
dankito f3552248dc Moved ProductData to JobContext and implemented that startNewDialog() create DialogContext 2022-02-07 00:18:14 +01:00
dankito 0a9b31b393 Created JobContext to have a cross dialog context per job and to be able to set FinTsClientCallback (and later on other objects) on a job basis 2022-02-07 00:18:14 +01:00
dankito d5573817ef Fixed that if a message is received that tells us a TAN is required than callback and there updateBankAndCustomerDataIfResponseSuccessful() doesn't get called for this received message - but which is absolutely required for Hypovereinsbank 2022-02-07 00:18:14 +01:00
dankito 3363e427be Calling updateBankAndCustomerDataIfResponseSuccessful() after each received message now 2022-02-07 00:18:14 +01:00
dankito 1b2b960c1b Extracted TanMethodSelector 2022-02-07 00:18:14 +01:00
dankito 3e8d1e6dc6 Implemented setting preferred TanMethod and TanMedium 2022-02-07 00:18:14 +01:00
dankito 4ec82a44d7 Added selectedTanMedium 2022-02-07 00:18:14 +01:00
dankito c82611ad6c Implemented getAllExceptionMessages() to list all messages in exception hierarchy 2022-02-07 00:18:14 +01:00
dankito 1e1e8e8f11 Renamed tanMethodSupportedByBank to tanMethodsSupportedByBank 2022-02-07 00:18:14 +01:00
dankito 27fc67940c Added warningSegmentFeedbacks and errorSegmentFeedbacks 2022-02-07 00:18:14 +01:00
dankito 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
dankito bb520de5d5 Renamed messageCreationError to messageThatCouldNotBeCreated 2022-02-07 00:18:14 +01:00
dankito b0af1cd1c9 Added an error message if FinTS message to be sent to bank could not be created 2022-02-07 00:18:14 +01:00
dankito dee1fd7211 Extracted createNoTanMethodSelectedResponse() 2022-02-07 00:18:14 +01:00
dankito fed10e21c0 Fixed return getBankInfoResponse including its error 2022-02-07 00:18:14 +01:00
dankito bd2c96bbcb Fixed returning original getTanMethodsResponse and therefore its errors etc. 2022-02-07 00:18:14 +01:00
dankito 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
dankito cb25a2294a Added getUsersTanMethod() to retrieveBasicDataLikeUsersTanMethods() so that it's callers don't have to do this 2022-02-07 00:18:14 +01:00
dankito 4d3c1aece3 Fixed that otherPartyName may is just an empty string (like at Targobank) 2022-02-07 00:18:14 +01:00
dankito fb33a7c58a Implemented using updated account information after retrieving new bank data 2022-02-07 00:18:14 +01:00
dankito e8e35a3fe2 Fixed that if balance should not get fetched that we did abort instead of continuing with retrieving transactions 2022-02-07 00:18:14 +01:00
dankito fad4c48b41 Implemented logging client close errors 2022-02-07 00:18:14 +01:00
dankito d35a420c29 Parsing date and time now manually as Java's DateFormat is not thread safe causing a lot of curious errors when executed in parallel 2022-02-07 00:18:14 +01:00
dankito 356b0f7823 Made callback settable (required for fints4kRest 2022-02-07 00:18:14 +01:00
dankito bc7733f618 Implemented toString() 2022-02-07 00:18:14 +01:00
dankito 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
dankito e1e4cbe30a Added bank code and customer ID to log message to be able to track to which account a log message belongs 2022-02-07 00:18:14 +01:00
dankito 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
dankito 9c9ebb9d57 Fixed that if fetchBalanceAndTransactions was set to false accounts haven't been returned 2022-02-07 00:18:14 +01:00
dankito ec85162e00 Couldn't reproduce it but on server parsing balance time sometimes failed 2022-02-07 00:18:14 +01:00
dankito ce3247c7e4 Fixed Atrium dependency; bumped Atrium version to 0.15.0 2022-02-07 00:18:14 +01:00
dankito a4ebdfec8c Added return to make it clearer that code below doesn't get called 2022-02-07 00:18:14 +01:00
dankito 6975502f28 Re-added setting bank name to BankParameters.bankName in case that it's not set (as the value from BankParameters contains a lot of confusion and irrelevant names) 2022-02-07 00:18:14 +01:00
dankito 4ddb55e612 Extracted RequestExecutor 2022-02-07 00:18:14 +01:00
dankito 41d02ec343 Extracted ModelMapper 2022-02-07 00:18:14 +01:00
dankito 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
dankito 7eb35eba55 Removed unused getTanMediaListAsync() 2022-02-07 00:18:14 +01:00
dankito b0afdde7e3 Added infrastructure for automatically retrieving if user entered decoupled TAN 2022-02-07 00:18:14 +01:00
dankito c5bddd94b0 Implemented that errors when retrieving account transactions get displayed in UI 2022-02-07 00:18:14 +01:00
dankito 17110a794c Renamed transactionsSegment to creditCardTransactionsSegment 2022-02-07 00:18:14 +01:00
dankito ef1c927d27 Implemented mapping DecoupledTanMethodParameters 2022-02-07 00:18:14 +01:00
dankito 5af1557642 Fixed getTanMediaList() 2022-02-07 00:18:14 +01:00
dankito 6b2434fe3b Fixed messages (message size; CustomerId and Language; RetrieveAccountTransactionsParameters and PinInfo is now required for HKKAZ) 2022-02-07 00:18:14 +01:00
dankito 187b1805e6 Extracted calculateMessageSize(); fixed MessageHeaderMinLength 2022-02-07 00:18:14 +01:00
dankito 361a4062cb Fixed calculating message size 2022-02-07 00:18:14 +01:00
dankito d43d91b6cc Implemented setting time on Date; fixed formatting time tests 2022-02-07 00:18:14 +01:00
dankito 095d9c467a Fixed that now '2:13' instead of '16:14' is used 2022-02-07 00:18:14 +01:00
dankito 9ef1458edb Fixed that BIC is now written to HKSAL 2022-02-07 00:18:14 +01:00
dankito 4948d2ce7e Fixed that otherPartyName is now named transactionDescriptionBase 2022-02-07 00:18:14 +01:00