Class SepaSwissIBAN
Inheritance
SepaSwissIBAN
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 |
string |
sIBAN |
|
Returns
Type |
Description |
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 |
string |
sIBAN |
|
Returns
Type |
Description |
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 |
string |
sIBAN |
The IBAN to check. If this is null , then the result will be false .
|
Returns
See Also
IsValidAcctNoESR(string)
Declaration
public static bool IsValidAcctNoESR(string sAcctNo)
Parameters
Type |
Name |
Description |
string |
sAcctNo |
|
Returns
IsValidAcctNoPost(string)
Declaration
public static bool IsValidAcctNoPost(string sAcctNo)
Parameters
Type |
Name |
Description |
string |
sAcctNo |
|
Returns
IsValidRefNoESR(string)
Declaration
public static bool IsValidRefNoESR(string sRefNo)
Parameters
Type |
Name |
Description |
string |
sRefNo |
|
Returns