Repository navigation
Merged
Conversation
…notice from public samples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ČSOB's CEB notification can report several booked transactions in one e-mail, which
read()could not return. This addsreadAll()and ČSOB.readAll(rawMessage)returns every transaction, in order, once the signature verified; for any other bank, a list of one.read()is nowreadAll()with exactly one expected, and refuses several rather than return one of them.Bank.parseAlldefaults toList.of(parse(...)); only ČSOB overrides it. The transactions share onemessageId(), so the docs say to deduplicate on it and the position in the list.ČSOB CEB, from tomaj/bank-mails-parser's fixtures (MIT), samples only: no key pinned (the 2020 selector
alphais gone), synthetic fixtures with valid fake accounts.Účetline's (/0300added), the currency is the account's, the sign the direction, an incoming kind with a minus refused; nothing labelled may followZpráva příjemci.Došlá platba,Došlá úhrada,Příchozí úhrada(okamžitátoo), and the card sentencetransakce platební kartou. SEPA, foreign and cash payments have sentences of their own and IBANs, and stayUnparsed. A first draft claimed SEPA and matched the card sentence wrongly; checked against the fixtures and corrected before this PR.Each of five guards was broken in turn and a test failed for each; the one for a symbol after the message was missing at first and is added.
make build: green.