<?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\Model\Reservation\Event;

defined( 'ABSPATH' ) || exit;

class ReservationWasCreated
{
    public function __construct(private readonly string $identifier, private readonly array $payload = [])
    {
    }

    public function getIdentifier(): string
    {
        return $this->identifier;
    }

    public function getPayload(): array
    {
        return $this->payload;
    }
}
