mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Scaffold MethodInterface
for child classes
This commit is contained in:
parent
969a76003b
commit
5a0c6b0734
31
app/PaymentDrivers/Common/MethodInterface.php
Normal file
31
app/PaymentDrivers/Common/MethodInterface.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?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://www.elastic.co/licensing/elastic-license
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace App\PaymentDrivers\Common;
|
||||||
|
|
||||||
|
use App\Http\Requests\Request;
|
||||||
|
|
||||||
|
interface MethodInterface
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Authorization page for the gateway method.
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
*/
|
||||||
|
public function authorizeView(array $data);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Process the response from the authorization page.
|
||||||
|
*
|
||||||
|
* @param Request $request
|
||||||
|
*/
|
||||||
|
public function authorizeResponse(Request $request);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user