Class SepaSwissIBAN

Namespace
Subsembly.Sepa
Assembly
Subsembly.Sepa.dll
public static class SepaSwissIBAN
Inheritance
SepaSwissIBAN
Inherited Members

Methods

GetAcctNo(string)

Extract the domestic swiss account number part from an IBAN.

public static string GetAcctNo(string sIBAN)

Parameters

sIBAN string

Returns

string

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

GetBankCode(string)

Extract the swiss bank clearing code from an IBAN.

public static string GetBankCode(string sIBAN)

Parameters

sIBAN string

Returns

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.

public static bool IsValid(string sIBAN)

Parameters

sIBAN string

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

Returns

bool

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

IsValidAcctNoESR(string)

public static bool IsValidAcctNoESR(string sAcctNo)

Parameters

sAcctNo string

Returns

bool

IsValidAcctNoPost(string)

public static bool IsValidAcctNoPost(string sAcctNo)

Parameters

sAcctNo string

Returns

bool

IsValidRefNoESR(string)

public static bool IsValidRefNoESR(string sRefNo)

Parameters

sRefNo string

Returns

bool