Class SepaSwissIBAN
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
sIBANstring
Returns
- string
The swiss account number for a valid swiss IBAN or
nullotherwise.
GetBankCode(string)
Extract the swiss bank clearing code from an IBAN.
public static string GetBankCode(string sIBAN)
Parameters
sIBANstring
Returns
- string
The swiss bank clearing code for a valid swiss IBAN or
nullotherwise.
IsValid(string)
Checks whether the given IBAN looks like a valid Swiss IBAN number.
public static bool IsValid(string sIBAN)
Parameters
sIBANstringThe IBAN to check. If this is
null, then the result will befalse.
Returns
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
sAcctNostring
Returns
IsValidAcctNoPost(string)
public static bool IsValidAcctNoPost(string sAcctNo)
Parameters
sAcctNostring
Returns
IsValidRefNoESR(string)
public static bool IsValidRefNoESR(string sRefNo)
Parameters
sRefNostring