<?php

namespace SugarCalendarBookings\Integrations;

/**
 * Webhook event handler interface.
 *
 * Contract for integrations that can process incoming webhook events
 * forwarded by the Product API relay.
 *
 * @since 1.4.0
 */
interface WebhookEventHandlerInterface extends IntegrationCapabilityInterface {

	/**
	 * Handle an incoming webhook event.
	 *
	 * @since 1.4.0
	 *
	 * @param array $event_data Raw event payload from the provider.
	 */
	public function handle_event( array $event_data ): void;
}
