<?php
/**
 * Form Session Variables Constants Class
 *
 * This class defines all session variable names used in the plugin as constants.
 * These constants are used throughout the plugin to reference specific form session variables.
 *
 * @package miniorange-sms-order-notification-otp-verification/helper
 * @since   1.0.0
 */

namespace WCSMSOTP\Helper;

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

/**
 * Form Session Variables Constants Class
 *
 * This class defines all session variable names used in the plugin as constants.
 * These constants are used throughout the plugin to reference specific form session variables.
 */
if ( ! class_exists( 'FormSessionVars' ) ) {
	/**
	 * Form Session Variables Constants Class
	 *
	 * This class defines all session variable names used in the plugin as constants.
	 * These constants are used throughout the plugin to reference specific form session variables.
	 */
	class FormSessionVars {

		/**
		 * Transaction session ID constant.
		 *
		 * @var string
		 */
		const TX_SESSION_ID = 'mo_otp_site_txID';

		/**
		 * WooCommerce default registration constant.
		 *
		 * @var string
		 */
		const WC_DEFAULT_REG = 'woocommerce_registration';

		/**
		 * WooCommerce checkout page constant.
		 *
		 * @var string
		 */
		const WC_CHECKOUT = 'woocommerce_checkout_page';

		/**
		 * WooCommerce social login constant.
		 *
		 * @var string
		 */
		const WC_SOCIAL_LOGIN = 'wc_social_login';

		/**
		 * WordPress default login constant.
		 *
		 * @var string
		 */
		const WP_DEFAULT_LOGIN = 'default_wp_login';

		/**
		 * WordPress login registration phone constant.
		 *
		 * @var string
		 */
		const WP_LOGIN_REG_PHONE = 'default_wp_reg_phone';

		/**
		 * WooCommerce product vendor constant.
		 *
		 * @var string
		 */
		const WC_PRODUCT_VENDOR = 'wc_product_vendor';

		/**
		 * WooCommerce billing constant.
		 *
		 * @var string
		 */
		const WC_BILLING = 'wc_billing';

		/**
		 * WooCommerce checkout new constant.
		 *
		 * @var string
		 */
		const WC_CHECKOUT_NEW = 'woocommerce_checkout_new';

		/**
		 * WooCommerce profile update constant.
		 *
		 * @var string
		 */
		const WC_PROFILE_UPDATE = 'wc_profile';
	}
}
