Class FinSepaSubmitPostdatedDirDebBuilder
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
FinContactThe 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
MaxLeadTime
For all direct debits the returned maximum lead time is the same as MaxLeadTimeOOFF.
public override int MaxLeadTime { get; }
Property Value
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
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
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
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
MinLeadTime
For all direct debits the returned minimum lead time is the same as MinLeadTimeOOFF.
public override int MinLeadTime { get; }
Property Value
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
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
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
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
Methods
OnPreparePaymentInformation(FinAcct, SepaPaymentInformation)
protected override void OnPreparePaymentInformation(FinAcct aAcct, SepaPaymentInformation aPmtInf)
Parameters
aAcct
FinAcctaPmtInf
SepaPaymentInformation