Skip to content

Conversation

@manosbatsis
Copy link

Fixes #767

There is no easy way to control target country randomization when creating IBANs, because both countryCodeToBasicBankAccountNumberPattern and createCountryCodeToBasicBankAccountNumberPatternMap() are private.

This PR adds a Finance.ibanCountryCodes() to allow finer control of scope.

@bodiam
Copy link

bodiam commented Oct 27, 2023

Hi @manosbatsis , thanks for submitting this fix. I'd suggest trying out Datafaker, a drop in replacement for Javafaker. We're also very open to contributions!

@manosbatsis
Copy link
Author

Hey @bodiam, actually I think datafaker's Finance class has the same issue. Perhaps you'd like the same PR there?

@bodiam
Copy link

bodiam commented Oct 27, 2023

Can you reproduce it with Datafaker? If so, absolutely!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE for IBAN with country code

2 participants