PHP Class App\services\PaymentService

Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( PaymentRepository $paymentRepo, AccountRepository $accountRepo, DatatableService $datatableService ) PaymentService constructor.
autoBillInvoice ( Invoice $invoice ) : boolean
bulk ( $ids, $action, $params = [] )
getDatatable ( $clientPublicId, $search )

Méthodes protégées

Méthode Description
getRepo ( ) : PaymentRepository

Method Details

__construct() public méthode

PaymentService constructor.
public __construct ( PaymentRepository $paymentRepo, AccountRepository $accountRepo, DatatableService $datatableService )
$paymentRepo App\Ninja\Repositories\PaymentRepository
$accountRepo App\Ninja\Repositories\AccountRepository
$datatableService DatatableService

autoBillInvoice() public méthode

public autoBillInvoice ( Invoice $invoice ) : boolean
$invoice app\models\Invoice
Résultat boolean

bulk() public méthode

public bulk ( $ids, $action, $params = [] )

getDatatable() public méthode

public getDatatable ( $clientPublicId, $search )

getRepo() protected méthode

protected getRepo ( ) : PaymentRepository
Résultat App\Ninja\Repositories\PaymentRepository