<?php
/**
 * YATOON_Google_Calendar - FREE stub
 *
 * Google Calendar sync is a Pro feature. All methods are safe no-ops
 * in the free version. The real implementation lives in the Pro
 * package (includes/pro/class-yatoon-google-calendar.php).
 *
 * [FREE]
 */
if ( ! defined( 'ABSPATH' ) ) exit;

class YATOON_Google_Calendar {

    public function __construct() {}

    /**
     * Core code consults is_enabled() before attempting any calendar work,
     * so returning false here disables the entire pipeline.
     */
    public static function is_enabled()    { return false; }
    public static function is_configured() { return false; }

    /** Catch-all for any other Google Calendar method the core code may call. */
    public function __call( $name, $args )              { return false; }
    public static function __callStatic( $name, $args ) { return false; }

    /** Common methods called by core code - all no-ops in free. */
    public static function get_auth_url()                                  { return ''; }
    public static function exchange_code( $code )                          { return false; }
    public static function verify_oauth_state( $state )                    { return false; }
    public static function get_access_token()                              { return false; }
    public static function add_event( $booking, $service = null, $staff = null ) { return false; }
    public static function delete_event( $event_id )                       { return false; }
    public static function sync_event( $booking )                          { return false; }
}
