Constructor BankDefinition
BankDefinition(String, IList<String>)
Partial constructor.
Declaration
public BankDefinition(string id, IList<string> payerIdTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The unique id of this bank, case insensitive. Also used for DisplayName. |
| System.Collections.Generic.IList<System.String> | payerIdTypes | A list of strings containing allowed payer id types for this bank. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown if Id is an empty string or whitespace. |
| System.ArgumentNullException | Thrown if Id or PayerIdTypes is null. |
BankDefinition(String, String, IList<String>)
Full constructor.
Declaration
public BankDefinition(string id, string displayName, IList<string> payerIdTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The unique id of this bank, case insensitive. |
| System.String | displayName | The display name of this bank. If null then |
| System.Collections.Generic.IList<System.String> | payerIdTypes | A list of strings containing allowed payer id types for this bank. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown if Id is an empty string or whitespace. |
| System.ArgumentNullException | Thrown if Id or PayerIdTypes is null. |