2021-10-19 17:59:38 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
|
|
|
|
*
|
|
|
|
* @license https://opensource.org/licenses/AAL
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\PaymentDrivers\GoCardless;
|
|
|
|
|
|
|
|
use App\Http\Requests\Request;
|
|
|
|
use App\PaymentDrivers\Common\MethodInterface;
|
|
|
|
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
2021-10-19 18:02:48 +02:00
|
|
|
use App\PaymentDrivers\GoCardlessPaymentDriver;
|
2021-10-19 17:59:38 +02:00
|
|
|
|
|
|
|
class SEPA implements MethodInterface
|
|
|
|
{
|
2021-10-19 18:02:48 +02:00
|
|
|
protected GoCardlessPaymentDriver $go_cardless;
|
|
|
|
|
|
|
|
public function __construct(GoCardlessPaymentDriver $go_cardless)
|
|
|
|
{
|
|
|
|
$this->go_cardless = $go_cardless;
|
|
|
|
|
|
|
|
$this->go_cardless->init();
|
|
|
|
}
|
|
|
|
|
2021-10-19 17:59:38 +02:00
|
|
|
public function authorizeView(array $data) { }
|
|
|
|
|
|
|
|
public function authorizeResponse(Request $request) { }
|
|
|
|
|
|
|
|
public function paymentView(array $data) { }
|
|
|
|
|
|
|
|
public function paymentResponse(PaymentResponseRequest $request) { }
|
|
|
|
}
|