Class SepaIBANSpec
Information about the IBAN structure of a country.
public class SepaIBANSpec
- Inheritance
-
SepaIBANSpec
- Inherited Members
Fields
Specs
Table of all well known SEPA countries IBAN implementations sorted by their country code.
public static readonly SepaIBANSpec[] Specs
Field Value
Properties
AcctNoLength
public int AcctNoLength { get; }
Property Value
BankCodeLength
Length of the bank identification code.
public int BankCodeLength { get; }
Property Value
BankCodeOffset
Offset into the IBAN where the bank identification code starts.
public int BankCodeOffset { get; }
Property Value
CountryCode
The country code.
public string CountryCode { get; }
Property Value
Length
The total length of the IBAN.
public int Length { get; }
Property Value
Methods
Find(string)
Finds the IBAN specification for a country.
public static SepaIBANSpec Find(string sCountryCode)
Parameters
sCountryCodestringThe two letter country code of the country for which to return the IBAN specification.
Returns
- SepaIBANSpec
If an IBAN specification for the requested country is available, then its SepaIBANSpec is returned. If the country is not known, then
nullis returned.
Exceptions
- ArgumentNullException
The given country code was
null.- ArgumentOutOfRangeException
The country code did not consist of two upper case letters.