# Payment_DTA

Class Summary `DTA`

Dta class provides functions to create and handle with DTA files used in Germany to exchange informations about money transactions with banks or online banking programs.

### Dta class provides functions to create and handle with DTA files used in Germany to exchange informations about money transactions with banks or online banking programs.

Specifications:

- http://www.ebics-zka.de/dokument/pdf/Anlage%203-Spezifikation%20der%20Datenformate%20-%20Version%202.3%20Endfassung%20vom%2005.11.2008.pdf, part 1.1 DTAUS0, p. 4ff

- http://www.bundesbank.de/download/zahlungsverkehr/zv_spezifikationen_v1_5.pdf

- http://www.hbci-zka.de/dokumente/aenderungen/DTAUS_2002.pdf

### Class Trees for `DTA`

- `DTABase`

  - DTA

`DTA` Inherited Methods

### Inherited from `DTABase`

Method Name | Summary
Constructor `DTABase::__construct` | Constructor.
`DTABase::addExchange` | Adds an exchange. First the account data for the receiver of the exchange is set. In the case the DTA file contains credits, this is the payment receiver.
`DTABase::checkStr` | Checks if string $input contains the expected value at an offset.
`DTABase::count` | Return number of exchanges
`DTABase::current` | ¬documented;
`DTABase::filter` | Auxillary method to filter output strings.
`DTABase::getFileContent` | Returns the full content of the generated file.
`DTABase::getMetaData` | Returns an array with information about the transactions.
`DTABase::getNum` | Read integer number of given length from input at offset.
`DTABase::getParsingErrors` | Get parsing errors.
`DTABase::getStr` | Read string of given length from input at offset.
`DTABase::key` | ¬documented;
`DTABase::makeValidString` | Makes the given string valid for DTA files.
`DTABase::next` | ¬documented;
`DTABase::rewind` | ¬documented;
`DTABase::saveFile` | Writes the DTA file.
`DTABase::setAccountFileSender` | Set the sender of the file.
`DTABase::valid` | ¬documented;
`DTABase::validString` | Checks if the given string contains only chars valid for fields in DTA files.

&package.payment.payment-dta.dta.--construct; &package.payment.payment-dta.dta.addexchange; &package.payment.payment-dta.dta.getfilecontent; &package.payment.payment-dta.dta.getmetadata; &package.payment.payment-dta.dta.parse; &package.payment.payment-dta.dta.setaccountfilesender;

Class Summary `DTABase`

DTABase class provides common functions to classes DTA and DTAZV.

### DTABase class provides common functions to classes DTA and DTAZV.

¬documented;

### Class Trees for `DTABase`

- DTABase

### Classes that extend `DTABase`

Class | Summary
DTA | Dta class provides functions to create and handle with DTA files used in Germany to exchange informations about money transactions with banks or online banking programs.
DTAZV | DTAZV class provides functions to create and handle with DTAZV files used in Germany to exchange informations about european money transactions with banks or online banking programs.

&package.payment.payment-dta.dtabase.--construct; &package.payment.payment-dta.dtabase.addexchange; &package.payment.payment-dta.dtabase.checkstr; &package.payment.payment-dta.dtabase.count; &package.payment.payment-dta.dtabase.current; &package.payment.payment-dta.dtabase.filter; &package.payment.payment-dta.dtabase.getfilecontent; &package.payment.payment-dta.dtabase.getmetadata; &package.payment.payment-dta.dtabase.getnum; &package.payment.payment-dta.dtabase.getparsingerrors; &package.payment.payment-dta.dtabase.getstr; &package.payment.payment-dta.dtabase.key; &package.payment.payment-dta.dtabase.makevalidstring; &package.payment.payment-dta.dtabase.next; &package.payment.payment-dta.dtabase.rewind; &package.payment.payment-dta.dtabase.savefile; &package.payment.payment-dta.dtabase.setaccountfilesender; &package.payment.payment-dta.dtabase.valid; &package.payment.payment-dta.dtabase.validstring;

Class Summary `DTAZV`

DTAZV class provides functions to create and handle with DTAZV files used in Germany to exchange informations about european money transactions with banks or online banking programs.

### DTAZV class provides functions to create and handle with DTAZV files used in Germany to exchange informations about european money transactions with banks or online banking programs.

¬documented;

### Class Trees for `DTAZV`

- `DTABase`

  - DTAZV

`DTAZV` Inherited Methods

### Inherited from `DTABase`

Method Name | Summary
Constructor `DTABase::__construct` | Constructor.
`DTABase::addExchange` | Adds an exchange. First the account data for the receiver of the exchange is set. In the case the DTA file contains credits, this is the payment receiver.
`DTABase::checkStr` | Checks if string $input contains the expected value at an offset.
`DTABase::count` | Return number of exchanges
`DTABase::current` | ¬documented;
`DTABase::filter` | Auxillary method to filter output strings.
`DTABase::getFileContent` | Returns the full content of the generated file.
`DTABase::getMetaData` | Returns an array with information about the transactions.
`DTABase::getNum` | Read integer number of given length from input at offset.
`DTABase::getParsingErrors` | Get parsing errors.
`DTABase::getStr` | Read string of given length from input at offset.
`DTABase::key` | ¬documented;
`DTABase::makeValidString` | Makes the given string valid for DTA files.
`DTABase::next` | ¬documented;
`DTABase::rewind` | ¬documented;
`DTABase::saveFile` | Writes the DTA file.
`DTABase::setAccountFileSender` | Set the sender of the file.
`DTABase::valid` | ¬documented;
`DTABase::validString` | Checks if the given string contains only chars valid for fields in DTA files.

&package.payment.payment-dta.dtazv.--construct; &package.payment.payment-dta.dtazv.addexchange; &package.payment.payment-dta.dtazv.getfilecontent; &package.payment.payment-dta.dtazv.getmetadata; &package.payment.payment-dta.dtazv.parse; &package.payment.payment-dta.dtazv.setaccountfilesender; &package.payment.payment-dta.dtazv.setmaxamount;

Class Summary `Payment_DTA_ChecksumException`

Payment_DTA_ChecksumException indicates a wrong checksum in a DTA file.

### Payment_DTA_ChecksumException indicates a wrong checksum in a DTA file.

¬documented;

### Class Trees for `Payment_DTA_ChecksumException`

- PEAR_Exception

  - `Payment_DTA_Exception`

    - Payment_DTA_ChecksumException

Class Summary `Payment_DTA_Exception`

Payment_DTA_Exception is this packages' basic exception class.

### Payment_DTA_Exception is this packages' basic exception class.

¬documented;

### Class Trees for `Payment_DTA_Exception`

- PEAR_Exception

  - Payment_DTA_Exception

### Classes that extend `Payment_DTA_Exception`

Class | Summary
Payment_DTA_ParseException | Payment_DTA_ParseException indicates parsing problems.
Payment_DTA_ChecksumException | Payment_DTA_ChecksumException indicates a wrong checksum in a DTA file.

Class Summary `Payment_DTA_FatalParseException`

Payment_DTA_FatalParseException indicates a non-recoverable parsing problem, that makes it impossible to build a usable object.

### Payment_DTA_FatalParseException indicates a non-recoverable parsing problem, that makes it impossible to build a usable object.

¬documented;

### Class Trees for `Payment_DTA_FatalParseException`

- PEAR_Exception

  - `Payment_DTA_Exception`

    - `Payment_DTA_ParseException`

      - Payment_DTA_FatalParseException

Class Summary `Payment_DTA_ParseException`

Payment_DTA_ParseException indicates parsing problems.

### Payment_DTA_ParseException indicates parsing problems.

¬documented;

### Class Trees for `Payment_DTA_ParseException`

- PEAR_Exception

  - `Payment_DTA_Exception`

    - Payment_DTA_ParseException

### Classes that extend `Payment_DTA_ParseException`

Class | Summary
Payment_DTA_FatalParseException | Payment_DTA_FatalParseException indicates a non-recoverable parsing problem, that makes it impossible to build a usable object.

&package.payment.payment-dta.constants;