Class SepaIBANSpec
Information about the IBAN structure of a country.
Inheritance
System.Object
SepaIBANSpec
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|
System.Int32 |
BankCodeLength
Length of the bank identification code.
Declaration
public int BankCodeLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
BankCodeOffset
Offset into the IBAN where the bank identification code starts.
Declaration
public int BankCodeOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CountryCode
The country code.
Declaration
public string CountryCode { get; }
Property Value
Type | Description |
---|---|
System.String |
Length
The total length of the IBAN.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Find(String)
Finds the IBAN specification for a country.
Declaration
public static SepaIBANSpec Find(string sCountryCode)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|
System.ArgumentNullException | The given country code was |
System.ArgumentOutOfRangeException | The country code did not consist of two upper case letters. |