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.
|
|
|
|
*
|
|
|
|
* @param array $data
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function paymentData(array $data): array;
|
2024-07-10 01:55:36 +02:00
|
|
|
}
|