Commit Graph

86 Commits

Author SHA1 Message Date
dankito 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
dankito 5110c1a9b7 Forgot to add to commit 2022-02-07 00:18:08 +01:00
dankito 06101a4e57 Added AndroidManifest to fints4kBankingClient to make Gradle happy 2022-02-07 00:18:08 +01:00
dankito 17d3eb9a5b Calling now lazy evaluating logger method 2022-02-07 00:18:08 +01:00
dankito f053b2728d Using now English names for BankAccountTypes 2022-02-07 00:18:08 +01:00
dankito 03d8074fda Using lazy evaluating logger method now 2022-02-07 00:18:07 +01:00
dankito 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
dankito 38bb0c90ff Implemented detecting if wrong credentials have been entered (not 100 % reliable though) 2022-02-07 00:18:07 +01:00
dankito 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
dankito 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
dankito 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
dankito 415a3297bb In UI renamed customerId to userName; removed unused customerId from BankAccount 2022-02-07 00:18:07 +01:00
dankito d209bc46fc Renamed haveAllTransactionsBeenFetched to haveAllTransactionsBeenRetrieved and isAccountTypeSupported to isAccountTypeSupportedByApplication 2022-02-07 00:18:07 +01:00
dankito bf9d406053 Renamed usage to reference, remittee to recipient and instant payment to real-time transfer 2022-02-07 00:18:07 +01:00
dankito dee6f4aebe Making use of supportXyz convenience properties 2022-02-07 00:18:07 +01:00
dankito 09d90c6c9d Renamed property accountData to account 2022-02-07 00:18:07 +01:00
dankito e973ce256b Added conversion to BigDecimal directly to Amount 2022-02-07 00:18:07 +01:00
dankito 60c93dedfb Renamed Customer to BankData 2022-02-07 00:18:07 +01:00
dankito 13d95f4bda Implemented storing and displaying for which period account transactions have been fetched 2022-02-07 00:18:07 +01:00
dankito 700e3e6da9 Implemented mapping and displaying if an account type is supported or not 2022-02-07 00:18:07 +01:00
dankito be42e3b330 Renamed TanProcedure to TanMethod in UI 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 332c90a9e0 Fixed that response.errorsToShowToUser got mapped to an empty string instead of null if response.errorsToShowToUser is empty 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 6ed4acd8f2 Changed constructor parameter order 2022-02-07 00:18:07 +01:00
dankito 79ebb35bc7 Added convenience constructors for when retrieving data was successful 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 7cb19d6f7d Extracted RetrievedAccountData, makes code way better readable 2022-02-07 00:18:07 +01:00
dankito 58748579b4 Updated logged message 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 3d33af68a1 Removed unused updateCustomer() 2022-02-07 00:18:06 +01:00
dankito f62f30dd8e Fixed that mapped TAN media und procedures got discarded and replaced by new instances and therefore inserted another time into database resulting in duplicates 2022-02-07 00:18:06 +01:00
dankito 12e84109f3 Implemented persisting data with Room 2022-02-07 00:18:06 +01:00
dankito 6f354724be Fixed that when an account gets deleting its BankingClient data didn't get deleted 2022-02-07 00:18:06 +01:00
dankito 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
dankito 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
dankito 744af2880c Fixed that changes make in UI settings haven't been reflected in clients 2022-02-07 00:18:06 +01:00
dankito 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
dankito 63259ff404 Merged CustomerData and BankData 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 92456604bb Added BankAccount to TransferMoneyData 2022-02-07 00:18:06 +01:00
dankito 73ba48b030 Removed unused BankDataMapper 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 34cb8617f8 Implemented setting banks' display order 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 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