Class to manage standing orders rejects.
More...
Class to manage standing orders rejects.
Definition at line 31 of file rejetprelevement.class.php.
◆ __construct()
RejetPrelevement::__construct |
( |
|
$db, |
|
|
|
$user, |
|
|
|
$type |
|
) |
| |
Constructor.
- Parameters
-
DoliDb | $db | Database handler |
User | $user | Objet user |
string | $type | Type ('direct-debit' for direct debit or 'bank-transfer' for credit transfer) |
Definition at line 53 of file rejetprelevement.class.php.
◆ _send_email()
RejetPrelevement::_send_email |
( |
|
$fac | ) |
|
|
private |
◆ create()
RejetPrelevement::create |
( |
|
$user, |
|
|
|
$id, |
|
|
|
$motif, |
|
|
|
$date_rejet, |
|
|
|
$bonid, |
|
|
|
$facturation = 0 |
|
) |
| |
Create.
- Parameters
-
User | $user | User object |
int | $id | Id |
string | $motif | Motif |
int | $date_rejet | Date rejet |
int | $bonid | Bon id |
int | $facturation | Facturation |
- Returns
- void
Definition at line 89 of file rejetprelevement.class.php.
◆ fetch()
RejetPrelevement::fetch |
( |
|
$rowid | ) |
|
◆ getListInvoices()
RejetPrelevement::getListInvoices |
( |
|
$amounts = 0 | ) |
|
|
private |
Retrieve the list of invoices.
- Parameters
-
int | $amounts | If you want to get the amount of the order for each invoice |
- Returns
- array Array List of invoices related to the withdrawal line
Definition at line 284 of file rejetprelevement.class.php.
The documentation for this class was generated from the following file: