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 sender contain name Sender's name. Maximally 35 chars are allowed. additional_name Sender's additional name (max. 35 chars) street Sender's street/PO Box (max. 35 chars) city Sender's city (max. 35 chars) bank_code Sender's bank code (8-digit BLZ) account_number Sender's account number (10-digit)
Account data for receiver contain name Receiver's name. Maximally 35 chars are allowed. additional_name Receiver's additional name (max. 35 chars) street Receiver's street/PO Box (max. 35 chars) city Receiver's city (max. 35 chars) bank_code Receiver's bank code (8 or 11 char BIC) account_number Receiver's account number (up to 34 char IBAN)
Parameters:
boolean setAccountFileSender(
array
$account)
|
|
Set the sender of the DTAZV file. Must be set for valid DTAZV file.
The given account data is also used as default sender's account. Account data contains name Sender's name. Maximally 35 chars are allowed. additional_name Sender's additional name (max. 35 chars) street Sender's street/PO Box (max. 35 chars) city Sender's city (max. 35 chars) bank_code Sender's bank code (BLZ, 8-digit) account_number Sender's account number (10-digit)
Parameters: