Commit Graph

1135 Commits

Author SHA1 Message Date
dankito 09d90c6c9d Renamed property accountData to account 2022-02-07 00:18:07 +01:00
dankito 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
dankito d420cfcfb2 Added convenience properties to determine account features 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 b99522fda9 Renamed nameOfTanMediaRequired to nameOfTanMediumRequired 2022-02-07 00:18:07 +01:00
dankito 0efb4ba708 Made supportedFeatures accessible 2022-02-07 00:18:07 +01:00
dankito 1ff2c0ecf3 Renamed messageLogField to messageLog 2022-02-07 00:18:07 +01:00
dankito 50505831ea Removed outdated 'Customer' from method name 2022-02-07 00:18:07 +01:00
dankito 60c93dedfb Renamed Customer to BankData 2022-02-07 00:18:07 +01:00
dankito df1ce4fd3a Committing changes to Core Data now as Xcode didn't save them before 2022-02-07 00:18:07 +01:00
dankito f3c1007b5e Also checking on app start-up if now no more transactions can be retrieved from bank server 2022-02-07 00:18:07 +01:00
dankito 1bc8a93ba4 Fixed checking if all transactions have been fetched by using retrievedTransactionsFromOn (as first retrieved transaction may not is on the first day of the fetched period( 2022-02-07 00:18:07 +01:00
dankito 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
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 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 e78e0e93f9 Added button to add account if no accounts have been added yet 2022-02-07 00:18:07 +01:00
dankito f811d25ffd Fixed that 'Could not retrieve transactions' message got displayed even though no account has been added (yet) 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 d1ff6312ff Removed unnecessary constructor statement 2022-02-07 00:18:07 +01:00
dankito 07446568ed Fixed that super.typeFromId() didn't resolve Lists and Sets (but still don't know why Jackson writes their classes as id to output) 2022-02-07 00:18:07 +01:00
dankito a4a70bbd32 Fixed time zone offset which NSCalendar doesn't take into account 2022-02-07 00:18:07 +01:00
dankito a382904015 Implemented displaying state if no transactions are displayed (e.g. if no transactions have been fetch, account doesn't support fetching transactions of retrieved period didn't contain any transactions) 2022-02-07 00:18:07 +01:00
dankito 002878cf09 Removed redundant qualifier 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 1f9fd48e80 Fixed that when entering long usages "Usage" label migrated to the right 2022-02-07 00:18:07 +01:00
dankito b9f562ab3f Extracted fetchAllTransactionsButton 2022-02-07 00:18:07 +01:00
dankito 18cd571573 Sorting now transactions only when necessary and not on each view update 2022-02-07 00:18:07 +01:00
dankito f1d3052c41 Fixed bug that after updating account balance didn't get updated 2022-02-07 00:18:07 +01:00
dankito fcdf60f596 Removed alert after adding account to ask user if now all account transactions should get fetched 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 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 63caf84894 Fixed setting displayIndex only if adding account was successful 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 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 f444a45730 Derived AddAccountResponse from 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 58748579b4 Updated logged message 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