salesking / sepa_king

Ruby gem for creating SEPA XML files
MIT License
149 stars 118 forks source link

Add pain.001.001.09 and pain.008.001.08 #117

Open tobischo opened 3 months ago

tobischo commented 3 months ago

This pull request adds support for generating pain.001.001.09 and pain.008.001.08 files.

The relevant difference is surprisingly small.

For pain.001.001.09 the difference for the requested execution date is that it now supports date and date time for facilitating instant transfers eventually. In this pull request I skipped the changes to allow passing a time or date time value instead of the date. It should be a relatively simple addition, however it does require adapting the validate_requested_date_after function to a higher degree than I would want to add in this pull request.

I would appreciate any feedback on this