salesking / sepa_king

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

Add support for specifying Debtor account per transaction #113

Open olleolleolle opened 2 years ago

olleolleolle commented 2 years ago

This PR is a reformulation of #101 but with fewer changes in this PR.

This allows you to specify a Debtor account per-transaction.

Details

CreditorAccount and DebtorAccount both get a method #identifier, which allows the message builder to call that method, not having to check for the presence of it.

Transaction groups also now support the customizing of that identifier.

To support that customization there, the SchemeNm CUST was added.