sepawriter icon indicating copy to clipboard operation
sepawriter copied to clipboard

Allow multiple PaymentInformation

Open jdebarochez opened this issue 8 years ago • 3 comments

Hello,

Would it be possible to allow multiple payment informations? Each of them would have a list of transactions like we have at the moment directly in a SepaTransfer.

Thanks.

jdebarochez avatar Jun 22 '16 12:06 jdebarochez

Hi,

Current version does not allow that. I've not planned to implement it. The reason is a really quick workaround: you can create multiple files.

perrich avatar Jul 01 '16 19:07 perrich

Little late to the party, but I needed it also, creating it was rather simple.

I currently only added it to DebitTransfer(Transaction), because this was what I needed, if you like the idea, I can create a pull request (also for CreditTransfer). I've added RequestedExecutionDate to the Transaction itself, grouped by it creates a pmtInf for each "Transaction".

Hope you don't hate the use of System.Linq

xinix00 avatar Dec 22 '21 07:12 xinix00

Thanks for your proposal. Sorry for the delay. Maybe I'm wrong but I think, it's a breaking change if RequestedExecutionDate should be defined for each transaction. Instead, if it can be defined globally (as actually done) and possibly overriden in each transaction, it will be a very good enhancement!

perrich avatar Mar 26 '22 11:03 perrich