1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00
invoiceninja/app/PaymentDrivers/Razorpay/Hosted.php

40 lines
980 B
PHP
Raw Normal View History

2021-10-07 16:35:58 +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\Razorpay;
use App\Http\Requests\Request;
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
use App\PaymentDrivers\Common\MethodInterface;
2021-10-07 16:52:41 +02:00
use App\PaymentDrivers\RazorpayPaymentDriver;
2021-10-07 16:35:58 +02:00
class Hosted implements MethodInterface
{
2021-10-07 16:52:41 +02:00
protected RazorpayPaymentDriver $razorpay;
public function __construct(RazorpayPaymentDriver $razorpay)
{
$this->razorpay = $razorpay;
$this->razorpay->init();
}
2021-10-07 16:35:58 +02:00
public function authorizeView(array $data) { }
public function authorizeResponse(Request $request) { }
public function paymentView(array $data) { }
public function paymentResponse(PaymentResponseRequest $request) { }
}