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