Class FinSepaAcctInfoResp

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Wraps a single SEPA account information response segment (HISPA) for read access.

public class FinSepaAcctInfoResp
Inheritance
FinSepaAcctInfoResp
Inherited Members

Constructors

FinSepaAcctInfoResp(FinSegment)

Contructs an instance of this wrapper for the given SEPA account information response segment (HISPA)

public FinSepaAcctInfoResp(FinSegment aHISPA)

Parameters

aHISPA FinSegment

The SEPA account information (HISPA) segment to be wrapped.

Exceptions

ArgumentNullException

If a null reference is given for the aHISPA parameter, then an ArgumentNullException is thrown.

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.

public FinAcct[] AllSepaAcctInfos { get; }

Property Value

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.

public FinSegment HISPA { get; }

Property Value

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.

public FinAcct FindSepaAcctInfo(string sAcctNo, string sSubAcctCharacteristic, string sCountryCode, string sBankCode)

Parameters

sAcctNo string

The domestic account number to search for. Must not be null. When comparing account numbers, leading zeroes are ignored.

sSubAcctCharacteristic string

Optional sub-account characteristic (Unterkontomerkmal).

sCountryCode string

The country code to search for. This is usually 280. Must not be null.

sBankCode string

Optional bank code to search for.

Returns

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 null is returned.

Exceptions

ArgumentNullException

The parameter sAcctNo or sCountryCode was null.