<?php
/**
 * BookiFlex Core
 *
 * @package    BookiFlex
 * @subpackage Core
 * @author     BookiFlex
 * @copyright  Copyright (c) 2025 BookiFlex
 * @license    GPL-2.0-or-later
 *
 * @link       https://bookiflex.com
 */


declare(strict_types=1);
namespace BookiFlex\Core\Contract\Payment;

use BookiFlex\Core\Model\Reservation\Reservation;

defined( 'ABSPATH' ) || exit;

interface PaymentFactoryInterface
{
    /**
     * Create a payment for the given reservations.
     *
     * @param Reservation[] $reservations
     * @return PaymentInterface[]
     */
    public function createPayments(array $reservations): array;
}
