Commit Graph

186 Commits

Author SHA1 Message Date
dankito 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
dankito f5f3f34d3b Renamed TanProcedure to TanMethod in fints4k 2022-02-07 00:18:07 +01:00
dankito 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
dankito 7a64177d47 Renamed Response to BankResponse 2022-02-07 00:18:07 +01:00
dankito 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
dankito ae56bab18a Fixed updating to new signatures 2022-02-07 00:18:07 +01:00
dankito 129b4f64fa Added account to GetTransactionsParameter 2022-02-07 00:18:07 +01:00
dankito d8739cf193 Renamed isSuccessful to successful 2022-02-07 00:18:07 +01:00
dankito ec3cdb1c39 Added convenience constructor for when an error occurred 2022-02-07 00:18:07 +01:00
dankito 2d4499514a Implemented calculating isSuccessful in AddAccountResponse and GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito 044648f569 Calculating supportsRetrievingTransactionsOfLast90DaysWithoutTan now from retrieved data (but try to get rid of it anyway) 2022-02-07 00:18:07 +01:00
dankito 99205b53c9 Removed bankAccount property from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito da5e285d61 Fixed that no Set hasn't been used 2022-02-07 00:18:07 +01:00
dankito 50a5938046 Made all properties overridable 2022-02-07 00:18:07 +01:00
dankito 7cb19d6f7d Extracted RetrievedAccountData, makes code way better readable 2022-02-07 00:18:07 +01:00
dankito 4ae4609ffb Not persisting segmentNumber, referenceSegmentNumber and segmentString. We don't need them after restoring and make resulting JSON file much smaller 2022-02-07 00:18:07 +01:00
dankito 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
dankito b403557f2d 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
dankito 4ed3d44b9e Implemented parsing retrieve account transactions in MT940 format job parameters 2022-02-07 00:18:07 +01:00
dankito a64e0b9427 Fixed that last allowed job was discarded when extension isn't set 2022-02-07 00:18:07 +01:00
dankito 75399e0664 Implemented logging only if it's really an exception and not a known wrong implementation of FinTS standard 2022-02-07 00:18:07 +01:00
dankito 497b82ce09 Started to implement to remove unnecessary spaces in usage, but now having to few 2022-02-07 00:18:07 +01:00
dankito 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
dankito 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
dankito 68742cc6a3 Fixed that comparing TanProcedures failed 2022-02-07 00:18:06 +01:00
dankito 50c6a72dff Fixed checking if usage is formatted 2022-02-07 00:18:06 +01:00
dankito f2bbff804d Implemented convenience constructors 2022-02-07 00:18:06 +01:00
dankito e36576e4c6 Added bankCodeForOnlineBanking to make clear that bank code for online banking may differs from bank's bank code 2022-02-07 00:18:06 +01:00
dankito 63259ff404 Merged CustomerData and BankData 2022-02-07 00:18:06 +01:00
dankito 49d34f1733 Removed unused supportsRetrievingTransactionsOfLast90DaysWithoutTan and triedToRetrieveTransactionsOfLast90DaysWithoutTan 2022-02-07 00:18:06 +01:00
dankito 397acebf79 Extracted iOSIsRealDevice so that it's easier to switch between iOS Simulator and real device 2022-02-07 00:18:06 +01:00
dankito 8b1051092a Updated to new method signatures 2022-02-07 00:18:06 +01:00
dankito 2c1c690302 Extracted settings to top of class 2022-02-07 00:18:06 +01:00
dankito dbc30abe2b Moved FinTsClientTestBase back to JVM tests and adjusted to new method signatures 2022-02-07 00:18:06 +01:00
dankito e2199c8494 Generified checking if retrieving user's TAN procedures was successful 2022-02-07 00:18:06 +01:00
dankito 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
dankito 73ba48b030 Removed unused BankDataMapper 2022-02-07 00:18:06 +01:00
dankito 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
dankito 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
dankito 137d35ac02 Implemented validating and auto correcting user input in TransferMoneyDialog 2022-02-07 00:18:06 +01:00
dankito 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
dankito e0c5a72524 MOved FlickerCodeStepsCalculator and Bit to BankingUiCommon 2022-02-07 00:18:06 +01:00
dankito 469e9c9dab Made FlickerCodeStepsCalculator state free 2022-02-07 00:18:06 +01:00
dankito 8b6b12a755 Renamed FlickerCanvas to FlickerCodeStepsCalculator 2022-02-07 00:18:06 +01:00
dankito 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
dankito 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
dankito c442d02e97 Renamed FinTsMockValue to PinTanDefaultValue 2022-02-07 00:18:06 +01:00
dankito 3160ebaa2c Fixed that GetUserTanProceduresResponse isn't required anymore 2022-02-07 00:18:06 +01:00
dankito 7649df6a6b Fixed that if getting user's TAN procedures fails method didn't stop / still continued 2022-02-07 00:18:06 +01:00
dankito 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