<?php
/**
 * Interface for Add-Ons
 *
 * This interface defines the contract that all add-ons must implement
 * to ensure consistent add-on initialization and settings page display.
 *
 * @package miniorange-sms-order-notification-otp-verification/objects
 */

namespace WCSMSOTP\Objects;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Add-On Interface
 *
 * Interface that defines the required methods for add-ons.
 * All classes implementing this interface must provide methods to initialize
 * handlers and helpers, and display the add-on's settings page.
 */
interface AddOnInterface {

	/**
	 * Initialize the add-on's handler classes.
	 *
	 * This method should be implemented to initialize all handler classes
	 * required for the add-on's functionality.
	 *
	 * @return void
	 */
	public function initialize_handlers();

	/**
	 * Initialize the add-on's helper classes.
	 *
	 * This method should be implemented to initialize all helper classes
	 * required for the add-on's functionality.
	 *
	 * @return void
	 */
	public function initialize_helpers();

	/**
	 * Display the add-on's settings page.
	 *
	 * This method should be implemented to render the add-on's
	 * settings page in the WordPress admin area.
	 *
	 * @return void
	 */
	public function show_addon_settings_page();
}
