Commit graph

84 commits

Author SHA1 Message Date
06101a4e57 Added AndroidManifest to fints4kBankingClient to make Gradle happy 2022-02-07 00:18:08 +01:00
17d3eb9a5b Calling now lazy evaluating logger method 2022-02-07 00:18:08 +01:00
f053b2728d Using now English names for BankAccountTypes 2022-02-07 00:18:08 +01:00
03d8074fda Using lazy evaluating logger method now 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
38bb0c90ff Implemented detecting if wrong credentials have been entered (not 100 % reliable though) 2022-02-07 00:18:07 +01:00
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
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
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
415a3297bb In UI renamed customerId to userName; removed unused customerId from BankAccount 2022-02-07 00:18:07 +01:00
d209bc46fc Renamed haveAllTransactionsBeenFetched to haveAllTransactionsBeenRetrieved and isAccountTypeSupported to isAccountTypeSupportedByApplication 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
dee6f4aebe Making use of supportXyz convenience properties 2022-02-07 00:18:07 +01:00
09d90c6c9d Renamed property accountData to account 2022-02-07 00:18:07 +01:00
e973ce256b Added conversion to BigDecimal directly to Amount 2022-02-07 00:18:07 +01:00
60c93dedfb Renamed Customer to BankData 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
be42e3b330 Renamed TanProcedure to TanMethod in UI 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
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
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
6ed4acd8f2 Changed constructor parameter order 2022-02-07 00:18:07 +01:00
79ebb35bc7 Added convenience constructors for when retrieving data was successful 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
58748579b4 Updated logged message 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
3d33af68a1 Removed unused updateCustomer() 2022-02-07 00:18:06 +01:00
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
12e84109f3 Implemented persisting data with Room 2022-02-07 00:18:06 +01:00
6f354724be Fixed that when an account gets deleting its BankingClient data didn't get deleted 2022-02-07 00:18:06 +01:00
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
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
744af2880c Fixed that changes make in UI settings haven't been reflected in clients 2022-02-07 00:18:06 +01:00
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
63259ff404 Merged CustomerData and BankData 2022-02-07 00:18:06 +01:00
397acebf79 Extracted iOSIsRealDevice so that it's easier to switch between iOS Simulator and real device 2022-02-07 00:18:06 +01:00
92456604bb Added BankAccount to TransferMoneyData 2022-02-07 00:18:06 +01:00
73ba48b030 Removed unused BankDataMapper 2022-02-07 00:18:06 +01:00
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
34cb8617f8 Implemented setting banks' display order 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
12f61b03ef Moved mkdirs() to getFints4kClientDataFile() 2022-02-07 00:17:54 +01:00
2d30047c75 Implemented fetching account data from bank if not found locally (e.g. if persisted data got deleted) 2022-02-07 00:17:54 +01:00