1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 00:41:34 +02:00
invoiceninja/app/PaymentDrivers/Stripe/SEPA.php

41 lines
1.0 KiB
PHP
Raw Normal View History

2021-08-16 06:05:45 +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)
*
2021-10-05 16:19:38 +02:00
* @license https://opensource.org/licenses/AAL
2021-08-16 06:05:45 +02:00
*/
namespace App\PaymentDrivers\Stripe;
2021-10-05 16:19:38 +02:00
use App\Http\Requests\Request;
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
use App\PaymentDrivers\Common\MethodInterface;
2021-10-05 16:31:48 +02:00
use App\PaymentDrivers\StripePaymentDriver;
2021-08-16 06:05:45 +02:00
2021-10-05 16:19:38 +02:00
class SEPA implements MethodInterface
2021-08-16 06:05:45 +02:00
{
2021-10-05 16:31:48 +02:00
/** @var StripePaymentDriver */
public StripePaymentDriver $stripe;
public function __construct(StripePaymentDriver $stripe)
{
$this->stripe = $stripe;
}
2021-10-05 16:34:19 +02:00
public function authorizeView($data)
{
2021-10-05 16:39:01 +02:00
return render('gateways.stripe.sepa.authorize', $data);
2021-10-05 16:34:19 +02:00
}
2021-08-16 06:05:45 +02:00
2021-10-05 16:19:38 +02:00
public function authorizeResponse(Request $request) { }
2021-08-16 06:05:45 +02:00
2021-10-05 16:19:38 +02:00
public function paymentView(array $data) { }
2021-08-16 06:05:45 +02:00
2021-10-05 16:19:38 +02:00
public function paymentResponse(PaymentResponseRequest $request) { }
2021-08-16 06:05:45 +02:00
}