Class FinSepaSubmitPostdatedDirDebBuilder

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

Base class for all SEPA direct debit builders.

public abstract class FinSepaSubmitPostdatedDirDebBuilder : FinSepaOrderBuilder
Inheritance
FinSepaSubmitPostdatedDirDebBuilder
Derived
Inherited Members

Constructors

FinSepaSubmitPostdatedDirDebBuilder(FinContact, bool)

Creates a new SEPA direct debit order builder

protected FinSepaSubmitPostdatedDirDebBuilder(FinContact aContact, bool fIsMultipleOrderSegmentType)

Parameters

aContact FinContact

The contact for which the direct debit order builder shall create orders. This is used to get the FinTS version, the bank parameter data and the user parameter data that are in effect. This parameter must not be null.

fIsMultipleOrderSegmentType bool

Exceptions

ArgumentNullException

Parameter aContact was null.

Properties

LeadTimesBaseGD

Must be overriden by a derived class in order to provide the GD position within the BPD where the lead time parameters begin.

protected abstract int LeadTimesBaseGD { get; }

Property Value

int

If this is zero, then it is assumed that the new lead times version 2 parameters are used. Otherwise this is assumed to be the first GD position where version 1 min/max lead time parameters begin.

LocalInstrumentCode

Must be overriden by a derived class in order to provide the actual Local Instrument Code indicating the type of direct debit.

protected abstract FinSepaSubmitPostdatedDirDebBuilder.FinSepaLocalInstrumentCode LocalInstrumentCode { get; }

Property Value

FinSepaSubmitPostdatedDirDebBuilder.FinSepaLocalInstrumentCode

MaxLeadTime

For all direct debits the returned maximum lead time is the same as MaxLeadTimeOOFF.

public override int MaxLeadTime { get; }

Property Value

int

MaxLeadTimeFNAL

Returns the maximum allowed lead time for a direct debit order with SequenceType 'FNAL' according to be bank parameter data (BPD).

public virtual int MaxLeadTimeFNAL { get; }

Property Value

int

MaxLeadTimeFRST

Returns the maximum allowed lead time for a direct debit order with SequenceType 'FRST' according to be bank parameter data (BPD).

public virtual int MaxLeadTimeFRST { get; }

Property Value

int

MaxLeadTimeOOFF

Returns the maximum allowed lead time for a direct debit order with SequenceType 'OOFF' according to be bank parameter data (BPD).

public virtual int MaxLeadTimeOOFF { get; }

Property Value

int

MaxLeadTimeRCUR

Returns the maximum allowed lead time for a direct debit order with SequenceType 'RCUR' according to be bank parameter data (BPD).

public virtual int MaxLeadTimeRCUR { get; }

Property Value

int

MinLeadTime

For all direct debits the returned minimum lead time is the same as MinLeadTimeOOFF.

public override int MinLeadTime { get; }

Property Value

int

MinLeadTimeFNAL

Returns the minimum allowed lead time for a direct debit order with SequenceType 'FNAL' according to be bank parameter data (BPD).

public virtual int MinLeadTimeFNAL { get; }

Property Value

int

MinLeadTimeFRST

Returns the minimum allowed lead time for a direct debit order with SequenceType 'FRST' according to be bank parameter data (BPD).

public virtual int MinLeadTimeFRST { get; }

Property Value

int

MinLeadTimeOOFF

Returns the minimum allowed lead time for a direct debit order with SequenceType 'OOFF' according to be bank parameter data (BPD).

public virtual int MinLeadTimeOOFF { get; }

Property Value

int

MinLeadTimeRCUR

Returns the minimum allowed lead time for a direct debit order with SequenceType 'RCUR' according to be bank parameter data (BPD).

public virtual int MinLeadTimeRCUR { get; }

Property Value

int

Methods

OnPreparePaymentInformation(FinAcct, SepaPaymentInformation)

protected override void OnPreparePaymentInformation(FinAcct aAcct, SepaPaymentInformation aPmtInf)

Parameters

aAcct FinAcct
aPmtInf SepaPaymentInformation