mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
41 lines
1.0 KiB
PHP
41 lines
1.0 KiB
PHP
<?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\Stripe;
|
|
|
|
use App\Http\Requests\Request;
|
|
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
|
use App\PaymentDrivers\Common\MethodInterface;
|
|
use App\PaymentDrivers\StripePaymentDriver;
|
|
|
|
class SEPA implements MethodInterface
|
|
{
|
|
/** @var StripePaymentDriver */
|
|
public StripePaymentDriver $stripe;
|
|
|
|
public function __construct(StripePaymentDriver $stripe)
|
|
{
|
|
$this->stripe = $stripe;
|
|
}
|
|
|
|
public function authorizeView($data)
|
|
{
|
|
return render('gateways.stripe.sepa.authorize', $data);
|
|
}
|
|
|
|
public function authorizeResponse(Request $request) { }
|
|
|
|
public function paymentView(array $data) { }
|
|
|
|
public function paymentResponse(PaymentResponseRequest $request) { }
|
|
}
|