Class DtazvBase

Namespace
Subsembly.Dtazv
Assembly
Subsembly.Sepa.dll

Common base class for DtazvBuilder and DtazvParser.

public class DtazvBase
Inheritance
DtazvBase
Derived
Inherited Members

Properties

TotalCount

The total count of T records so far.

public int TotalCount { get; }

Property Value

int

Remarks

Each call to AppendRecordT(SepaCreditTransferPaymentInformation, SepaCreditTransferTransactionInformation), or ReadRecordT() increment this count by one. The TotalCount is reset to zero whenever a new logical file is begun through AppendRecordQ(string, string, DtazvNameAndAddress, DateTime, int, DateTime), or ReadRecordQ().

TotalValue

The total sum of all monetary values so far.

public decimal TotalValue { get; }

Property Value

decimal

Remarks

When adding T records only the whole number without its fractional part is added to the TotalValue.

The TotalValue is automatically reset to zero whenever a new logical file is begun through AppendRecordQ(string, string, DtazvNameAndAddress, DateTime, int, DateTime), or AppendRecordQ(string, string, DtazvNameAndAddress, DateTime, int, DateTime).

Methods

AddCount(decimal)

Add the given value to the check sum.

protected void AddCount(decimal dValue)

Parameters

dValue decimal

The value to be added to the TotalValue checksum. This must not be negative, but may be zero.

Remarks

In addition of adding to the check sums, this method also increments the TotalCount by one.

ResetCount()

Resets the check sums.

protected void ResetCount()

Remarks

This method resets the properties TotalValue and TotalCount to zero.