Merge pull request #6722 from jmacxx/add_sepa_country_gi

Add SEPA Payment Account country: GI (Gibraltar)
This commit is contained in:
Alejandro García 2023-06-20 13:14:49 +00:00 committed by GitHub
commit 5439108141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ public class CountryUtil {
public static List<Country> getAllSepaNonEuroCountries() {
List<Country> list = new ArrayList<>();
String[] codes = {"BG", "HR", "CZ", "DK", "GB", "HU", "PL", "RO",
"SE", "IS", "NO", "LI", "CH", "JE"};
"SE", "IS", "NO", "LI", "CH", "JE", "GI"};
populateCountryListByCodes(list, codes);
list.sort((a, b) -> a.name.compareTo(b.name));
return list;
@ -114,14 +114,6 @@ public class CountryUtil {
}
public static List<Country> getAllSepaInstantCountries() {
// TODO find reliable source for list
// //Austria, Estonia, Germany, Italy, Latvia, Lithuania, the Netherlands and Spain.
/* List<Country> list = new ArrayList<>();
String[] codes = {"AT", "DE", "EE",
"IT", "LV", "LT", "NL", "ES"};
populateCountryListByCodes(list, codes);
list.sort((a, b) -> a.name.compareTo(b.name));*/
return getAllSepaCountries();
}