• API Overview
  • EBICS API
  • FinTS API
  • XS2A API
  • SEPA API
Search Results for

    Class DtazvBuilder

    Simple utility class for easy building of German DTA files and records.

    Inheritance
    System.Object
    DtazvBase
    DtazvBuilder
    Inherited Members
    DtazvBase.TotalValue
    DtazvBase.TotalCount
    DtazvBase.ResetCount()
    DtazvBase.AddCount(Decimal)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Subsembly.Dtazv
    Assembly: Subsembly.Sepa.dll
    Syntax
    public class DtazvBuilder : DtazvBase

    Constructors

    DtazvBuilder(Int32)

    Contructs a DtazvBuilder instance with a suggested initial capacity.

    Declaration
    public DtazvBuilder(int nCapacity)
    Parameters
    Type Name Description
    System.Int32 nCapacity

    The suggested initial capacity. This should be chosen according to the expected resulting data size.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The parameter nCapacity is less than zero.

    Properties

    Size

    Provides the byte size of the DTA data collected so far.

    Declaration
    public int Size { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    AppendRecordQ(String, String, DtazvNameAndAddress, DateTime, Int32, DateTime)

    Appends a complete DTAZV record Q to this DTA data buffer.

    Declaration
    public void AppendRecordQ(string sBankCode, string sCustomerNumber, DtazvNameAndAddress aInitiator, DateTime tBuildDate, int nDailySeqNo, DateTime tScheduleDate)
    Parameters
    Type Name Description
    System.String sBankCode

    The bank code of the bank that shall receive the DTAZV.

    System.String sCustomerNumber

    The customer number, usually the 10 digit account number of the ordering customer account.

    DtazvNameAndAddress aInitiator

    The name of the initiator of this DTAZV order, perhaps including the address in additional lines. This must not be null or an empty string.

    System.DateTime tBuildDate
    System.Int32 nDailySeqNo
    System.DateTime tScheduleDate
    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter aOrderingCustAcct or sOrderingCustName was null.

    System.ArgumentException

    The parameter sOrderingCustName was an empty string, or a required property of the given aOrderingCustAcct was not set.

    AppendRecordT(SepaCreditTransferPaymentInformation, SepaCreditTransferTransactionInformation)

    Appends a complete DTAZV record T for a simple international remittance.

    Declaration
    public void AppendRecordT(SepaCreditTransferPaymentInformation aPmtInf, SepaCreditTransferTransactionInformation aTxInf)
    Parameters
    Type Name Description
    SepaCreditTransferPaymentInformation aPmtInf
    SepaCreditTransferTransactionInformation aTxInf

    AppendRecordZ()

    Adds the final DTAZV record Z.

    Declaration
    public void AppendRecordZ()
    Remarks

    The required check values are taken from the current values of the properties TotalValue and TotalCount.

    GenerateDTAZV(SepaDocument, String, String)

    Generates a complete DTAZV from a SEPA PAIN 001 document.

    Declaration
    public static DtazvBuilder GenerateDTAZV(SepaDocument aSepaDoc, string sBankCode, string sCustomerNumber)
    Parameters
    Type Name Description
    SepaDocument aSepaDoc

    The SEPA PAIN 001 document.

    System.String sBankCode

    The bank code of the bank that shall receive the DTAZV.

    System.String sCustomerNumber

    The customer number, usually the 10 digit account number of the ordering customer account.

    Returns
    Type Description
    DtazvBuilder

    A new DtazvBuilder instance that holds the complete DTAZV including a header record Q, a remittance record T for each payment, and a final record Z.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The parameter aSepaDoc was null.

    System.ArgumentException

    The given SEPA document was not a CreditTransferPaymentInitiation.

    • or - The SEPA document did not contain any payments.

    ToBytes()

    Convert the collected DTA data to a byte array.

    Declaration
    public byte[] ToBytes()
    Returns
    Type Description
    System.Byte[]

    This method returns the complete collected data as a DTA conforming byte array.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    In This Article
    Back to top Copyright 2009-2025 Subsembly GmbH