class
RejetPrelevement (View source)
Class to manage standing orders rejects
Properties
|
int
|
$id |
|
|
|
DoliDB
|
$db |
|
|
|
"direct-debit"|"bank-transfer"
|
$type |
|
|
|
int
|
$bon_id |
|
|
|
User
|
$user |
|
|
|
int|string
|
$date_rejet |
|
|
|
string
|
$motif |
|
|
|
string
|
$invoicing |
|
|
|
string[]
|
$motifs |
|
|
|
string[]
|
$labelsofinvoicing |
|
|
Methods
int
create(
User $user, int $id, int $motif, int $date_rejet, int $bonid, int<0, 1> $facturation = 0)
Create a reject
int
fetch($rowid)
Retrieve withdrawal object
Details
__construct($db, User $user, $type)
Constructor
@param DoliDB $db Database handler
int
create(User $user, int $id, int $motif, int $date_rejet, int $bonid, int<0, 1> $facturation = 0)
Retrieve withdrawal object
@param int $rowid id of invoice to retrieve