mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 15:42:51 +01:00
0fff78b0a0
* fixes for validation errors * authorize.net * pass livewirePaymentView & processPaymentView thru base driver * add paymentData to the interface * authorize.net credit card
31 lines
682 B
PHP
31 lines
682 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;
|
|
}
|