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

Initialize GoCardlessPro\Client

This commit is contained in:
Benjamin Beganović 2021-10-16 15:36:16 +02:00
parent 32f81ab253
commit b368ff23df

View File

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