mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 15:42:51 +01:00
31 lines
680 B
PHP
31 lines
680 B
PHP
<?php
|
|
/**
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
*
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
*
|
|
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
|
*
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
*/
|
|
|
|
namespace App\PaymentDrivers\Common;
|
|
|
|
interface LivewireMethodInterface
|
|
{
|
|
/**
|
|
* Payment page for the gateway method.
|
|
*
|
|
* @param array $data
|
|
*/
|
|
public function livewirePaymentView(array $data): string;
|
|
|
|
/**
|
|
* Payment data for the gateway method.
|
|
*
|
|
* @param array $data
|
|
* @return array
|
|
*/
|
|
public function paymentData(array $data): array;
|
|
}
|