• API Overview
  • EBICS API
  • FinTS API
  • XS2A API
  • SEPA API
Search Results for

    Class SepaBankInfos

    Container that holds the bank informations for a particular country.

    Inheritance
    System.Object
    SepaBankInfos
    Implements
    System.Collections.Generic.IEnumerable<SepaBankInfo>
    System.Collections.IEnumerable
    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 SepaBankInfos : IEnumerable<SepaBankInfo>, IEnumerable

    Constructors

    SepaBankInfos(String, List<SepaBankInfo>)

    Declaration
    public SepaBankInfos(string sCountryCode, List<SepaBankInfo> vBankInfos)
    Parameters
    Type Name Description
    System.String sCountryCode

    The country for which this container holds the bank informations.

    System.Collections.Generic.List<SepaBankInfo> vBankInfos

    Fields

    CSVHEADER_BANKCODE

    Declaration
    public const string CSVHEADER_BANKCODE = "BankCode"
    Field Value
    Type Description
    System.String

    CSVHEADER_BANKNAME

    Declaration
    public const string CSVHEADER_BANKNAME = "BankName"
    Field Value
    Type Description
    System.String

    CSVHEADER_BIC

    Declaration
    public const string CSVHEADER_BIC = "BIC"
    Field Value
    Type Description
    System.String

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    CountryCode

    Declaration
    public string CountryCode { get; }
    Property Value
    Type Description
    System.String

    IBANSpec

    Declaration
    public SepaIBANSpec IBANSpec { get; }
    Property Value
    Type Description
    SepaIBANSpec

    Item[Int32]

    Declaration
    public SepaBankInfo this[int i] { get; }
    Parameters
    Type Name Description
    System.Int32 i
    Property Value
    Type Description
    SepaBankInfo

    Methods

    DetermineBankName(String)

    Declaration
    public string DetermineBankName(string sBankCode)
    Parameters
    Type Name Description
    System.String sBankCode

    The bank code for which to determine the bank name. This must not be null or an empty string.

    Returns
    Type Description
    System.String

    If the bank code was found, and a bank name is known for it, then it is returned. If the bank code is not known, or no name for the bank is known, then null is returned.

    DetermineBIC(String)

    Declaration
    public SepaBIC DetermineBIC(string sBankCode)
    Parameters
    Type Name Description
    System.String sBankCode

    The bank code for which to determine the BIC. This must not be null or an empty string.

    Returns
    Type Description
    SepaBIC

    If the bank code was found, then its BIC is returned. If the bank code is not known, then NullBIC is returned.

    FindBankInfo(String)

    Declaration
    public SepaBankInfo FindBankInfo(string sBankCode)
    Parameters
    Type Name Description
    System.String sBankCode

    The bank identification code. Must not be null.

    Returns
    Type Description
    SepaBankInfo

    If the given bank code is not found in the table, then this method returns null. If the bank code is contained, then its SepaBankInfo is returned.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter sBankCode was null.

    System.ArgumentException

    LoadBankInfosCsv(String, Stream)

    Declaration
    public static SepaBankInfos LoadBankInfosCsv(string sCountryCode, Stream aStream)
    Parameters
    Type Name Description
    System.String sCountryCode
    System.IO.Stream aStream
    Returns
    Type Description
    SepaBankInfos

    LoadBankInfosCsv(String, TextReader)

    Declaration
    public static SepaBankInfos LoadBankInfosCsv(string sCountryCode, TextReader aReader)
    Parameters
    Type Name Description
    System.String sCountryCode
    System.IO.TextReader aReader
    Returns
    Type Description
    SepaBankInfos

    LoadBankInfosCsvFile(String, String)

    Loads all bank informations from a given CSV file.

    Declaration
    public static SepaBankInfos LoadBankInfosCsvFile(string sCountryCode, string sFileName)
    Parameters
    Type Name Description
    System.String sCountryCode
    System.String sFileName
    Returns
    Type Description
    SepaBankInfos
    Remarks

    The CSV file must be UTF-8 encoded and must use a semi-colon ';' as the field separator. It must start with a header line with at least the headers "BankCode", "BIC", and "BankName". Additional headers may be present. The order of the columns is irrelevant. If additional columns are present, their values will be loaded as additional attributes that can be obtained through GetAttribute(String), using the header name.

    Explicit Interface Implementations

    IEnumerable<SepaBankInfo>.GetEnumerator()

    Declaration
    IEnumerator<SepaBankInfo> IEnumerable<SepaBankInfo>.GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<SepaBankInfo>

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    In This Article
    Back to top Copyright 2009-2025 Subsembly GmbH