Class FinSepaAcctInfoResp
Wraps a single SEPA account information response segment (HISPA) for read access.
Inheritance
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinSepaAcctInfoResp
Constructors
FinSepaAcctInfoResp(FinSegment)
Contructs an instance of this wrapper for the given SEPA account information response segment (HISPA)
Declaration
public FinSepaAcctInfoResp(FinSegment aHISPA)
Parameters
Type | Name | Description |
---|---|---|
FinSegment | aHISPA | The SEPA account information (HISPA) segment to be wrapped. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If a null reference is given for the aHISPA parameter, then an ArgumentNullException is thrown. |
System.ArgumentException | If the given FinSegment is not of type HISPA or the segment version is neither 1,2 or 3, then an ArgumentException is thrown. |
Properties
AllSepaAcctInfos
Provides all SEPA account informations from this HISPA segment.
Declaration
public FinAcct[] AllSepaAcctInfos { get; }
Property Value
Type | Description |
---|---|
FinAcct[] | The following properties of the FinAcct instances are set up with SEPA information from the HISPA segment (if available): IBAN, BIC, AcctNo, SubAcctCharacteristic, and CountryCode. |
HISPA
Direct access to the wrapped HISPA segment.
Declaration
public FinSegment HISPA { get; }
Property Value
Type | Description |
---|---|
FinSegment |
Remarks
This property is provided for read-only access. It is not permitted to modify the returned FinSegment in any way!
Methods
FindSepaAcctInfo(String, String, String, String)
Finds a SEPA account information for the given domestic account details.
Declaration
public FinAcct FindSepaAcctInfo(string sAcctNo, string sSubAcctCharacteristic, string sCountryCode, string sBankCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | sAcctNo | The domestic account number to search for. Must not be |
System.String | sSubAcctCharacteristic | Optional sub-account characteristic (Unterkontomerkmal). |
System.String | sCountryCode | The country code to search for. This is usually 280. Must not be |
System.String | sBankCode | Optional bank code to search for. |
Returns
Type | Description |
---|---|
FinAcct | If a matching account was found in the SEPA account informations, then its details
are returned in a new FinAcct instance. If nothing was found, then
|
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter sAcctNo or sCountryCode was |