21 lines
565 B
PHP
21 lines
565 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace paygw_moneta\local\callback;
|
|
|
|
use paygw_moneta\local\GatewayConfig;
|
|
use paygw_moneta\local\order\Order;
|
|
use paygw_moneta\local\protocol\CallbackNotification;
|
|
use paygw_moneta\local\protocol\CallbackResponse;
|
|
|
|
/**
|
|
* @package paygw_moneta
|
|
* @copyright 2026 Moneta Labs {@link https://moneta.ru/}
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
interface NotificationHandler
|
|
{
|
|
public function handle(CallbackNotification $notification, Order $order, GatewayConfig $config): CallbackResponse;
|
|
}
|