-
Notifications
You must be signed in to change notification settings - Fork 62
Description
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:
const SEPA_TRANSFER = 10;
const SEPA_DIRECTDEBIT = 20;
const BANK_COSTS = 30;
const BANK_INTEREST = 31;
const ATM_WITHDRAWAL = 40;
const PAYMENT_TERMINAL = 50;
const UNKNOWN = 99;
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.
- I have included a ValueObjects library.
- I have added more to the interfaces.
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!