-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classifying transactions. #30
Comments
I like the idea of giving the transactions a defined set of types... However we must have to allow some sort of local processing... I don't believe that the package itself would hold all truths and thus must allow for the local developer actually working with a file to override / ignore / alter the given transaction type as 'guessed' by the package... ? |
We could always add setters as well as getters for the transaction type. |
Been AFK for a while and just starting to get back to this... I still like the idea of types for the transactions, but from the current docs the different banks have many different transaction types already... (20+ differences with over 30+ shared, thus 50-ish types?) seems like overkill... Any thoughts on how to reconcile this into a coherent solution? (+1 on the interfaces though...!) |
We could categorize them, most transaction types are likely to fall into On Aug 17, 2016 11:26, "Robin Speekenbrink" notifications@github.com
|
After reconsideration, if you could separate the introduction of the interface definitions as a seperate PR from the IBAN and Type additions, this would make the change easier to handle. Again, i like the additions of the interfaces and the introduction of the IBAN and Type stuff, but that seems a separate issue . (also since the IBAN stuff would make it a requirement where this might not necessarily be so outside of the EU / internationally... right?) |
@fruitl00p Sorry, I'm no longer working on this or projects using this. Feel free to cherry-pick changes you like or close this issue if you're not up for that :) |
There are several transaction types that can be identified for all accounts regardless of bank.
It would be good to add that type to make handling of the transaction easier.
(Currently I would have to parse the bank specific transaction code, which I do not want to know about).
Currently I have identified the following types:
These are already in my fork (https://github.com/SamMousa/php-mt940/tree/feature-interfaces-2), however I have made some design decisions that you might not agree with / need to be discussed.
If you are interested in adopting these changes, it might be wise to create a new develop branch.
I will be actively developing this library regardless, the downside is I will probably not have time to upgrade all parsers or properly update all tests.
Let me know how / if you think we could best work together!
The text was updated successfully, but these errors were encountered: