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)
Overrides
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.)
Parameters:
Returns the full content of the generated DTAZV file.
All added exchanges are processed.
Overrides
DTABase::getFileContent() (Returns the full content of the generated file.)
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)
Overrides
DTABase::setAccountFileSender() (Set the sender of the file.)
Parameters:
void setMaxAmount(
integer
$newmax)
|
|
Set the maximum allowed amount per transfer.
Pass 0 to disable the check (will set to maximum integer value).
Warning: Use at your own risk.
Amounts > 12500 Euro usually have notification requirements.
Amounts > 50000 Euro are not allowed in a "EU-Standardüberweisung", thus yielding a malformed DTAZV.
Parameters: