Class DtazvBase
Common base class for DtazvBuilder and DtazvParser.
Inherited Members
Namespace: Subsembly.Dtazv
Assembly: Subsembly.Sepa.dll
Syntax
public class DtazvBase
Properties
TotalCount
The total count of T records so far.
Declaration
public int TotalCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
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, Int32, DateTime), or ReadRecordQ().
TotalValue
The total sum of all monetary values so far.
Declaration
public decimal TotalValue { get; }
Property Value
Type | Description |
---|---|
System.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, Int32, DateTime), or AppendRecordQ(String, String, DtazvNameAndAddress, DateTime, Int32, DateTime).
Methods
AddCount(Decimal)
Add the given value to the check sum.
Declaration
protected void AddCount(decimal dValue)
Parameters
Type | Name | Description |
---|---|---|
System.Decimal | dValue | 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.
Declaration
protected void ResetCount()
Remarks
This method resets the properties TotalValue and TotalCount to zero.