PHP Class App\services\PaymentService

Datei anzeigen Open project: hillelcoren/invoice-ninja Class Usage Examples

Public Methods

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

Protected Methods

Method Description
getRepo ( ) : PaymentRepository

Method Details

__construct() public method

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

autoBillInvoice() public method

public autoBillInvoice ( Invoice $invoice ) : boolean
$invoice app\models\Invoice
return boolean

bulk() public method

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

getDatatable() public method

public getDatatable ( $clientPublicId, $search )

getRepo() protected method

protected getRepo ( ) : PaymentRepository
return App\Ninja\Repositories\PaymentRepository