2024-07-10 01:55:36 +02:00
|
|
|
<?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
|
|
|
|
*/
|
2024-07-16 10:43:55 +02:00
|
|
|
public function livewirePaymentView(array $data): string;
|
2024-08-09 01:07:23 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Payment data for the gateway method.
|
2024-08-22 08:45:06 +02:00
|
|
|
*
|
2024-08-09 01:07:23 +02:00
|
|
|
* @param array $data
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function paymentData(array $data): array;
|
2024-07-10 01:55:36 +02:00
|
|
|
}
|