Commit graph

1304 commits

Author SHA1 Message Date
7a64177d47 Renamed Response to BankResponse 2022-02-07 00:18:07 +01:00
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
ae56bab18a Fixed updating to new signatures 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
63caf84894 Fixed setting displayIndex only if adding account was successful 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
ec3cdb1c39 Added convenience constructor for when an error occurred 2022-02-07 00:18:07 +01:00
2d4499514a Implemented calculating isSuccessful in AddAccountResponse and GetTransactionsResponse 2022-02-07 00:18:07 +01:00
f444a45730 Derived AddAccountResponse from 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
da5e285d61 Fixed that no Set hasn't been used 2022-02-07 00:18:07 +01:00
50a5938046 Made all properties overridable 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
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
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
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
4ed3d44b9e Implemented parsing retrieve account transactions in MT940 format job parameters 2022-02-07 00:18:07 +01:00
a64e0b9427 Fixed that last allowed job was discarded when extension isn't set 2022-02-07 00:18:07 +01:00
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
347b3e59e7 Added jarAll task 2022-02-07 00:18:07 +01:00
4b21e6c4e2 Updated Kotlin version to 1.4.10, but couldn't get Gradle plugin 1.4.10 to work (getting "Collection is empty" error without additional information) 2022-02-07 00:18:07 +01:00
acb1433dc6 Commented out Kotlin serialization plugin as currently it's not needed 2022-02-07 00:18:07 +01:00
d360ff1def Laid at least groundworks to encrypt Room database 2022-02-07 00:18:07 +01:00
497b82ce09 Started to implement to remove unnecessary spaces in usage, but now having to few 2022-02-07 00:18:07 +01:00
b4d466ebf2 Bumped Gradle version to 6.6.1 2022-02-07 00:18:07 +01:00
596f85ca6d Implemented matching only the start of a city name (with contains() there have been too many unwanted search results) 2022-02-07 00:18:07 +01:00
826af7c8b8 Implemented BankListPrettifier to remove duplicate bank entries and to set better names (e.g. 'Deutsche Bank' instead of 'DB Privat- und Firmenkundenbank ...') 2022-02-07 00:18:07 +01:00
2fd11b2e56 Made all methods and properties overridable 2022-02-07 00:18:06 +01:00
0c55c0e0b0 Created BankListCreatorTest to have an easy way to create BankList.json 2022-02-07 00:18:06 +01:00
e5f661199b Extracted DetailedBankInfo to be able to reduce .json file from 4,0 to 3,3 MB by leaving away unused checksumMethod and oldBankCode 2022-02-07 00:18:06 +01:00
afc480453d Fixed dependencies 2022-02-07 00:18:06 +01:00
ef70e9a697 Fixed using already mapped TAN procedures and media instead of creating a new one each time leading to duplicates in db 2022-02-07 00:18:06 +01:00
28537668ff Implemented passing only new transactions to persister.saveOrUpdateAccountTransactions(). Had to call saveOrUpdateAccountTransactions() therefore also in receivedAccountsTransactionChunk listener 2022-02-07 00:18:06 +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
de20ae4a98 Removed unused AmountFormat 2022-02-07 00:18:06 +01:00
67b282beb2 Added horizontal divider to remittee list items 2022-02-07 00:18:06 +01:00
4afa18b336 Added padding to list_item_remittee 2022-02-07 00:18:06 +01:00
e612d51045 Fixed height after hiding txtvwRemitteeBankName if name isn't set 2022-02-07 00:18:06 +01:00
a935517b10 Removed useless constructor keyword 2022-02-07 00:18:06 +01:00
0d9eff266f Again filtering out duplicates after setting bank name as now some remittees contain the same information 2022-02-07 00:18:06 +01:00
d01074e070 Added to fallbacks to find bank name from BIC or IBAN 2022-02-07 00:18:06 +01:00
7cd7678542 Hiding txtvwRemitteeBankName if bank name isn't set 2022-02-07 00:18:06 +01:00
8f24802a55 Implemented also displaying BIC in remittee search result list 2022-02-07 00:18:06 +01:00