<?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\AvailabilityChecker;

use BookiFlex\Core\ValueObject\StayPeriod;

defined( 'ABSPATH' ) || exit;

/**
 * Get available quotas for accommodation.
 * Returns number of available quotas for given accommodation type on the CheckIn/CheckOut period.
 */
interface QuotaAvailabilityInterface
{
    public function getQuota(StayPeriod $stayPeriod, int $accommodationTypeId): int;
}
