Skip to content

Commit

Permalink
Merge branch 'SRU2024' into SRU2024_v10
Browse files Browse the repository at this point in the history
  • Loading branch information
zubri authored Jun 29, 2024
2 parents f8aafb5 + e9584f1 commit 4b1da83
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Prowide Core - CHANGELOG

#### 10.2.1 - June 2024
* (PW-1913) Added IBAN validation for Egypt local account structure
* Restore deprecated method in MT210 class

#### 10.2.0 - May 2024
* SWIFT Standard release update 2024 (live 16 November 2025)
* Yearly revision of deprecation phase (see https://dev.prowidesoftware.com/SRU2024/getting-started/deprecation/)
Expand Down
20 changes: 20 additions & 0 deletions src/main/resources/BbanStructureValidations.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,26 @@
}
]
},
{
"country_code": "EG",
"validation_rules": [
{
"entry_type": "bank_code",
"length": 4,
"character_type": "n"
},
{
"entry_type": "branch_code",
"length": 4,
"character_type": "n"
},
{
"entry_type": "account_number",
"length": 17,
"character_type": "n"
}
]
},
{
"country_code": "HR",
"validation_rules": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public void testSomeValidCodes() {
assertIbanOk(" GB06 BARC 2006 0500 9524 86");
assertIbanOk(" GB06 LOYD 3097 5104 5702 05.");
assertIbanOk("GB26BOFS80200643721002");
assertIbanOk("EG389004000100300074201200001");
}

private void assertIbanOk(String string) {
Expand Down

0 comments on commit 4b1da83

Please sign in to comment.