Constructor. The type of the DTA file must be set. One file can only contain credits (DTA_CREDIT) OR debits (DTA_DEBIT).
This is a definement of the DTA format.
Parameters:
boolean addExchange(
array
$account_receiver, double
$amount, array
$purposes, [array
$account_sender = array()])
|
|
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.
In the other case (the DTA file contains debits), this is the account, from which money is taken away. If the sender is not specified, values of the file sender are used by default.
Account data for receiver and sender contain name Name. Maximally 27 chars are allowed. bank_code Bank code. account_number Account number. additional_name If necessary, additional line for name (maximally 27 chars).
Parameters:
boolean setAccountFileSender(
array
$account)
|
|
Set the sender of the DTA file. Must be set for valid DTA file.
The given account data is also used as default sender's account. Account data contains name Sender's name. Maximally 27 chars are allowed. bank_code Sender's bank code. account_number Sender's account number. additional_name If necessary, additional line for sender's name (maximally 27 chars).
Parameters: