Commit Graph

147 Commits

Author SHA1 Message Date
dankito c857b874f7 Implemented parsing user's supported tan procedures 2019-10-15 22:47:17 +02:00
dankito c203c753f2 Hard set security method to Pin/Tan as only this one is supported by fints4java and security method to two step as this is required by PSD2 2019-10-15 21:36:34 +02:00
dankito 1930bc1c0d Added ensureBasicBankDataRetrieved() 2019-10-15 20:36:30 +02:00
dankito e8a7ef7484 Fixed size check 2019-10-15 20:17:09 +02:00
dankito f3c2cb871a Fixed missing import 2019-10-15 20:05:01 +02:00
dankl 742343b139 Added FinTsClientCallback to ask user to select a tan procedure; renamed AllowedJob to SupportedJob 2019-10-15 18:23:03 +02:00
dankl 7fcc8db798 Implemented checking if allowed jobs are supported 2019-10-13 21:19:11 +02:00
dankl 7e729cb503 Re-enabled parameters 2019-10-13 20:19:02 +02:00
dankl 86991cae27 Added geschaeftsvorfallCode 2019-10-13 20:14:52 +02:00
dankl 496b800b5e Added tryGetTransactionsOfLast90DaysWithoutTan() 2019-10-13 20:12:04 +02:00
dankl 29a2f29f72 Added JavaShowcase; did some adjustments so that Java users have a nicer interface 2019-10-13 19:44:16 +02:00
dankl bb9c5d9c98 Re-added parameters for KontoumsaetzeZeitraumMt940 2019-10-13 19:42:25 +02:00
dankl 7c02b56388 Implemented BankDataMapper 2019-10-13 19:30:27 +02:00
dankl be0b4f597a Implemented sorting bookedTransactions 2019-10-13 19:06:39 +02:00
dankl 098834dbe5 Added async methods for getAnonymousBankInfo(), getTransactions() and doBankTransfer() 2019-10-13 19:03:48 +02:00
dankl 1d7c740966 Made synchronizeCustomerSystemId() protected as it's not needed by users of FinTsClient and added documentation for it 2019-10-13 18:54:12 +02:00
dankl 8d76ca26d5 Handling and logging now also dialog end response; logging web request errors 2019-10-13 18:30:58 +02:00
dankl 19256c8819 Also synchronizeCustomerSystemId() and doBankTransfer() returning now FinTsClientResponse 2019-10-13 18:29:53 +02:00
dankl 637cbe8b07 Renamed ClientResponseBase to FinTsClientResponse, gave getAnonymousBankInfo() a specific return parameter and extracted closeAnonymousDialog() 2019-10-13 18:18:18 +02:00
dankl 46fef1695d Extracted getBalanceAfterDialogInit(), moved initDialog() to closeDialog() 2019-10-13 18:11:38 +02:00
dankl 1daaeeb8d8 Added GetTransactionsResponse to have a specific and detailed response 2019-10-13 18:08:42 +02:00
dankl b086956f95 Renamed error to exception 2019-10-13 17:53:11 +02:00
dankl 8d4d279e66 Using now Random instead of ThreadLocalRandom as ThreadLocalRandom is on Android only supported by API level 21 and above 2019-10-13 17:48:26 +02:00
dankl 362b09a246 Added parameter alsoRetrieveBalance 2019-10-13 17:36:26 +02:00
dankl 5ebbf0d383 Set default value for allAccounts 2019-10-13 17:31:50 +02:00
dankl db696c0744 Removed ProductData from FinTsClient methods 2019-10-13 17:24:47 +02:00
dankl 816b278dd0 Removed Existenzstatus from Segment 2019-10-13 15:57:18 +02:00
dankl 4dfc53994c Implemented making data element's value optional 2019-10-13 14:07:28 +02:00
dankl 9a094ed3fc Implemented setting allowed jobs on account 2019-10-13 13:30:42 +02:00
dankl 031629e0c9 Implemented parsing Message- and SegmentFeedback 2019-10-13 13:17:01 +02:00
dankl 41a343421d Added AccountData to CustomerData 2019-10-13 13:12:18 +02:00
dankl 114836e066 Implemented setting customer name also by accountHolderName2 and userParameters.username 2019-10-13 12:49:53 +02:00
dankl 3167665f67 Added countMaxJobsPerMessage and supportedHbciVersions to BankData 2019-10-13 12:49:03 +02:00
dankl 0ee2ed407f Implemented parsing AllowedJobs 2019-10-13 03:54:47 +02:00
dankl 45b2dca90a Implemented parsing allowed job names 2019-10-13 03:34:05 +02:00
dankl 94ccfd2e09 Fixed that most parameters of account info (HIUPD) are optional and therefore may not set 2019-10-13 02:58:30 +02:00
dankl c20bf13c5c Implemented parsing TAN response (HITAN) 2019-10-13 02:43:28 +02:00
dankl 3ccef79596 Fixed that if date or time is not set nothing gets written to output (instead of 0 which is an invalid value so that message get discarded) 2019-10-13 02:31:59 +02:00
dankl 9a6c3b0821 Changed ControlReference to other value than 1 to make sure it doesn't get asserted correctly by chance 2019-10-13 01:34:24 +02:00
dankl 5ee3a98894 Fixed new message order and new message sizes 2019-10-13 01:31:09 +02:00
dankl 9e3d25e93e Extracted createControlReference() so that it's overridable in tests 2019-10-13 01:30:41 +02:00
dankl aae9acaf00 Re-added FinTsClientTest 2019-10-13 01:12:37 +02:00
dankl 89d44beab9 Implemented parsing balance 2019-10-13 00:49:49 +02:00
dankl 8cf57d1c35 Implemented parsing TAN info 2019-10-12 23:51:12 +02:00
dankl e9469e131a Fixed unmasking characters 2019-10-12 23:42:50 +02:00
dankl 3e4a72184e Extracted GetTransactionsParameter to configure GetAccountTransactions job 2019-10-12 21:42:24 +02:00
dankl 2b744ddd09 Added option to pass nullable Date to Datum and Uhrzeit 2019-10-12 21:40:45 +02:00
dankl 07721719dc Derived PinTanVerschluesselteDatenDatenelement from BinaerDatenelement 2019-10-12 21:22:51 +02:00
dankl b1617d964c Added TODO 2019-10-12 21:18:48 +02:00
dankl d894419de7 Fixed Mt940Parser line separator 2019-10-12 21:18:16 +02:00
dankl aaa07703a1 Set log level to debug to see sent and received messages 2019-10-12 21:14:33 +02:00
dankl 8fd0df7c18 Implemented BankFinder 2019-10-12 21:13:01 +02:00
dankl 564e7cef7d Forgot to commit SepaMessage 2019-10-12 20:58:17 +02:00
dankl a07b6b115e Implemented BankListCreator to parse German banks file from Deutsche Kreditwirtschaft 2019-10-12 20:54:02 +02:00
dankl 304b3ba9d6 Implemented SEPA bank transfer 2019-10-12 20:15:45 +02:00
dankl 975a84cded Implemented parsing 2019-10-12 18:16:35 +02:00
dankl 4b731d83c3 Implemented Mt940AccountTransactionsParser 2019-10-12 13:57:06 +02:00
dankl 7544c9c666 Renamed accountNumber to accountIdentifier 2019-10-12 13:52:04 +02:00
dankl 93e268c0d0 Fixed that other party name can be null 2019-10-12 13:50:33 +02:00
dankl f54c082af0 Renamed Mt940AccountTransactionsParser to Mt940Parser and parseTransactions() to parseMt940String() 2019-10-12 12:37:08 +02:00
dankl 149097fe33 Implemented Mt940AccountTransactionsParser 2019-10-07 00:16:35 +02:00
dankl 5329cc8418 Started requesting balance and account transactions, but not fully working yet 2019-10-07 00:15:00 +02:00
dankl 8ac4f24476 Displaying segment string in debugger 2019-10-07 00:05:43 +02:00
dankl 455647f6db Fixed encoding 2019-10-06 23:27:56 +02:00
dankl b85536dac2 Fixed ZweiSchrittTanEinreichung (stupid me, looked at the spec for HITAN, not for HKTAN) 2019-10-06 19:25:32 +02:00
dankl 8d16cab528 Implemented not splitting at masked separator symbols and unmasking masked characters 2019-10-06 16:41:37 +02:00
dankl 5fc3e4cc63 Added UnparsedSegment so that caller gets informed of all received segments even though we didn't parse it 2019-10-06 16:19:09 +02:00
dankl 662d9d963d Fixed that default customerSystemId is now again NichtBenoetigt (0) 2019-10-06 16:01:18 +02:00
dankl dcda52d65f Implemented replacing empty data element group separators at end of segment (so that segment doesn't end with e.g. ...+DE+++') 2019-10-06 15:37:11 +02:00
dankl 46a23d17d5 Extracted parseCodeEnum() for a single value 2019-10-06 14:30:00 +02:00
dankl 676a7f0b71 Showing received response in debugger 2019-10-06 14:28:12 +02:00
dankl 37f73f54b5 Differentiate between createSignedMessage() and createMessage() 2019-10-06 14:18:25 +02:00
dankl 5fc2c2ef5b Implemented parsing User parameters and most of account info 2019-10-06 00:50:12 +02:00
dankl 89fc324cb4 - Implemented closing dialogs - Implemented setting message header and customerSystemId send by bank on messages - Renamed getBankInfo() to synchronizeCustomerSystemId() 2019-10-05 22:44:12 +02:00
dankl 9577e6c933 Added IBAN and BIC 2019-10-05 22:27:19 +02:00
dankl a934d29991 Fixed default BPD and UPD version 2019-10-05 22:26:21 +02:00
dankl b9c5883942 Implemented parsing SecurityMethods 2019-10-05 22:25:35 +02:00
dankl af35f35ba0 Implemented parsing BankParameters 2019-10-05 22:23:41 +02:00
dankl a3e2b72a09 Fixed that partyIdentification means customerSystemId 2019-10-05 20:29:20 +02:00
dankl 7f6752fa6d Started ResponseParser 2019-10-05 20:26:57 +02:00
dankl 1e7aa6f7b9 Added segment Synchronisierung 2019-10-05 19:07:53 +02:00
dankl f98c40fc79 Renamed SegmentId to CustomerSegmentId and moved it to package id 2019-10-05 18:58:50 +02:00
dankl 6961f46ee9 Extracted MessageSegmentId and ISegmentId 2019-10-05 18:56:28 +02:00
dankl 67ec1700e0 Renamed closing to ending 2019-10-05 18:47:45 +02:00
dankl f30fd61d69 Extracted Separators 2019-10-05 18:41:07 +02:00
dankl b44482d246 Extracted SegmentId 2019-10-05 18:38:23 +02:00
dankl bf70706f9c Added DialogEnde und MessageBuilder.createDialogEndMessage() 2019-10-05 17:20:49 +02:00
dankl d90ec3a888 Implemented generating a control reference 2019-10-05 16:40:55 +02:00
dankl 498aa139c6 Added DialogData to keep track of dialog information like next message number 2019-10-05 16:38:16 +02:00
dankl b4ba9a0bcf Added or extended value objects for Bank, Customer and Product; fixed tests 2019-10-05 02:27:24 +02:00
dankl 9ac4af58ff Added ZweiSchrittTanEinreichung. Authenticating with it works, but is not really configurable / usable. 2019-10-04 23:32:42 +02:00
dankl b9733189e6 Implemented 'encrypting' message 2019-10-04 22:25:23 +02:00
dankl bed585fc04 Implemented signing messages (but cannot tell yet if it's working) 2019-10-04 17:00:54 +02:00
dankl a6a7930c29 Added SegmentNumberGenerator so that segment numbers don't have to be hard coded 2019-10-04 14:29:46 +02:00
dankl b164737a47 Implemented MessageBuilder to have a way to calculate message size and to generically create messages 2019-10-04 00:11:53 +02:00
dankl 41e8dfae41 Started rudimentary version of FinTsClient 2019-10-03 23:39:53 +02:00
dankl f1e6ed1350 Implemented DialoginitialisierungAnonym (to start an anonymous communication with bank) 2019-10-03 23:06:53 +02:00