Class FinSepaAcctInfoResp
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
aHISPAFinSegmentThe 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
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
sAcctNostringThe domestic account number to search for. Must not be
null. When comparing account numbers, leading zeroes are ignored.sSubAcctCharacteristicstringOptional sub-account characteristic (Unterkontomerkmal).
sCountryCodestringThe country code to search for. This is usually 280. Must not be
null.sBankCodestringOptional 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
nullis returned.
Exceptions
- ArgumentNullException
The parameter sAcctNo or sCountryCode was
null.