1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Initialize MollieApiClient

This commit is contained in:
Benjamin Beganović 2021-09-24 23:36:40 +02:00
parent bb2d920e04
commit 00a5c9882c

View File

@ -15,9 +15,19 @@ namespace App\PaymentDrivers\Mollie;
use App\Http\Requests\Request; use App\Http\Requests\Request;
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest; use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
use App\PaymentDrivers\Common\MethodInterface; use App\PaymentDrivers\Common\MethodInterface;
use App\PaymentDrivers\MolliePaymentDriver;
class Bancontact implements MethodInterface class Bancontact implements MethodInterface
{ {
protected MolliePaymentDriver $mollie;
public function __construct(MolliePaymentDriver $mollie)
{
$this->mollie = $mollie;
$this->mollie->init();
}
public function authorizeView(array $data) { } public function authorizeView(array $data) { }
public function authorizeResponse(Request $request) { } public function authorizeResponse(Request $request) { }