Initialize MollieApiClient

This commit is contained in:
Benjamin Beganović 2021-09-24 23:05:10 +02:00
parent 02dbb0acd5
commit 67c4e55622

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 KBC implements MethodInterface class KBC 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) { }