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

    Class SepaSwissIBAN

    Inheritance
    System.Object
    SepaSwissIBAN
    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 static class SepaSwissIBAN

    Methods

    GetAcctNo(String)

    Extract the domestic swiss account number part from an IBAN.

    Declaration
    public static string GetAcctNo(string sIBAN)
    Parameters
    Type Name Description
    System.String sIBAN
    Returns
    Type Description
    System.String

    The swiss account number for a valid swiss IBAN or null otherwise.

    GetBankCode(String)

    Extract the swiss bank clearing code from an IBAN.

    Declaration
    public static string GetBankCode(string sIBAN)
    Parameters
    Type Name Description
    System.String sIBAN
    Returns
    Type Description
    System.String

    The swiss bank clearing code for a valid swiss IBAN or null otherwise.

    IsValid(String)

    Checks whether the given IBAN looks like a valid Swiss IBAN number.

    Declaration
    public static bool IsValid(string sIBAN)
    Parameters
    Type Name Description
    System.String sIBAN

    The IBAN to check. If this is null, then the result will be false.

    Returns
    Type Description
    System.Boolean
    Remarks

    This does not check whether the bank account really exists. It solely checks whether the IBAN specification is a syntactically correct Swiss IBAN specification.

    See Also
    IsValid(String)

    IsValidAcctNoESR(String)

    Declaration
    public static bool IsValidAcctNoESR(string sAcctNo)
    Parameters
    Type Name Description
    System.String sAcctNo
    Returns
    Type Description
    System.Boolean

    IsValidAcctNoPost(String)

    Declaration
    public static bool IsValidAcctNoPost(string sAcctNo)
    Parameters
    Type Name Description
    System.String sAcctNo
    Returns
    Type Description
    System.Boolean

    IsValidRefNoESR(String)

    Declaration
    public static bool IsValidRefNoESR(string sRefNo)
    Parameters
    Type Name Description
    System.String sRefNo
    Returns
    Type Description
    System.Boolean
    In This Article
    Back to top Copyright 2009-2025 Subsembly GmbH