-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updates SwiftRegistryProvider to r98 (July '24), which adds Oma…
…n (OM) and Yemen (YE) and updates branch for Portugal (PT). We also have to patch Pakistan (PK) back in, because it seems to have been removed from TXT even though it is still documented in PDF.
- Loading branch information
Showing
8 changed files
with
363 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/IbanNet.CodeGen/Swift/Patches/_8_PakistanDisappearedPatch.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
namespace IbanNet.CodeGen.Swift.Patches; | ||
|
||
/// <summary> | ||
/// Somewhere between r95 and r98, Pakistan disappeared from the txt while it is still is documented in the PDF. | ||
/// I am starting to hate the interns at SWIFT. This patches it back in. | ||
/// </summary> | ||
internal sealed record _8_PakistanDisappearedPatch : SwiftCsvRecord | ||
{ | ||
public _8_PakistanDisappearedPatch() | ||
{ | ||
CountryCode = "PK"; | ||
EnglishName = "Pakistan"; | ||
Iban = new IbanCsvData | ||
{ | ||
Pattern = "2!c2!n4!a16!c", | ||
Length = 24, | ||
ElectronicFormatExample = "PK36SCBL0000001123456702" | ||
}; | ||
EffectiveDate = new DateTimeOffset(2012, 12, 1, 0, 0, 0, TimeSpan.Zero); | ||
Bban = new BbanCsvData | ||
{ | ||
Pattern = "4!a16!c", | ||
Length = 20, | ||
Example = "SCBL0000001123456702" | ||
}; | ||
Bank = new BankCsvData | ||
{ | ||
Pattern = "4!a", | ||
Position = new Position { StartPos = 1, EndPos = 4 }, | ||
Example = "SCBL" | ||
}; | ||
Branch = new BranchCsvData(); | ||
Sepa = new SepaCsvData { IsMember = false, OtherTerritories = [] }; | ||
OtherTerritories = []; | ||
DomesticExample = "00260101036360"; | ||
LastUpdatedDate = new DateTimeOffset(2012, 12, 1, 0, 0, 0, TimeSpan.Zero); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
src/IbanNet/Registry/Swift/Files/swift_iban_registry_202407.r98.txt
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.