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

    Class SepaBankInfo

    Genric bank information that is used to map a BankCode to a BIC.

    Inheritance
    System.Object
    SepaBankInfo
    Implements
    System.IComparable
    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)
    Namespace: Subsembly.Sepa
    Assembly: Subsembly.Sepa.dll
    Syntax
    public class SepaBankInfo : IComparable

    Constructors

    SepaBankInfo()

    Declaration
    public SepaBankInfo()

    SepaBankInfo(String, String, SepaBIC, String)

    Declaration
    public SepaBankInfo(string sCountryCode, string sBankCode, SepaBIC tBIC, string sBankName)
    Parameters
    Type Name Description
    System.String sCountryCode
    System.String sBankCode

    The bank code without padding.

    SepaBIC tBIC
    System.String sBankName

    Optional bank name, may be null if not known.

    Properties

    BankCode

    The bank identification code of this entry.

    Declaration
    public string BankCode { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    This is never null or empty.

    BankName

    The optional bank name, may be null if not known.

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

    BIC

    The BIC of this entry.

    Declaration
    public SepaBIC BIC { get; set; }
    Property Value
    Type Description
    SepaBIC
    Remarks

    This value should never be IsNull.

    CountryCode

    The country code that of this entry.

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

    This is never null or empty.

    Methods

    Adopt(SepaBankInfo)

    Adopts all properties of the given bank information to this bank information.

    Declaration
    public void Adopt(SepaBankInfo aBankInfo)
    Parameters
    Type Name Description
    SepaBankInfo aBankInfo

    Another bank information that shall be incorporated into this bank information. This must not be null. The CountryCode and BankCode of that bank information must be equal to this bank information.

    Remarks

    Any non-null and non-empty properties of the other bank information will overwrite the current property values of this bank information.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter aBankInfo was null.

    System.ArgumentException

    The CountryCode or BankCode of this and the given SepaBankInfo were not equal.

    GetAttribute(String)

    Get an additional named attribute from this bank information record.

    Declaration
    public string GetAttribute(string sAttrName)
    Parameters
    Type Name Description
    System.String sAttrName

    The name of the attribute. This must not be null, or an empty string.

    Returns
    Type Description
    System.String

    If the attribute exists, then its value is returned, which may be a null value or an empty string. If the attribute does not exist, then null is returned.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter sAttrName was null.

    System.ArgumentException

    The sAttrName was empty.

    SetAttribute(String, String)

    Adds another attribute value to this bank information.

    Declaration
    public void SetAttribute(string sAttrName, string sAttrValue)
    Parameters
    Type Name Description
    System.String sAttrName

    The name of the attribute. This must not be null, or an empty string. The name must be unique. An attribute with the same name cannot be added twice.

    System.String sAttrValue

    The attribute string value. If this is null or an empty string, then nothing will be added.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter sAttrName was null.

    System.ArgumentException

    The sAttrName was empty, or an attribute with that name was already added to this bank information.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    IComparable.CompareTo(Object)

    Declaration
    int IComparable.CompareTo(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Int32

    Implements

    System.IComparable
    In This Article
    Back to top Copyright 2009-2025 Subsembly GmbH