Class SepaIBANSpec

Namespace
Subsembly.Sepa
Assembly
Subsembly.Sepa.dll

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

SepaIBANSpec[]

Properties

AcctNoLength

public int AcctNoLength { get; }

Property Value

int

BankCodeLength

Length of the bank identification code.

public int BankCodeLength { get; }

Property Value

int

BankCodeOffset

Offset into the IBAN where the bank identification code starts.

public int BankCodeOffset { get; }

Property Value

int

CountryCode

The country code.

public string CountryCode { get; }

Property Value

string

Length

The total length of the IBAN.

public int Length { get; }

Property Value

int

Methods

Find(string)

Finds the IBAN specification for a country.

public static SepaIBANSpec Find(string sCountryCode)

Parameters

sCountryCode string

The 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 null is returned.

Exceptions

ArgumentNullException

The given country code was null.

ArgumentOutOfRangeException

The country code did not consist of two upper case letters.