<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php

declare( strict_types = 1 );

namespace Automattic\WooCommerce\Internal\StockNotifications\Enums;

/**
 * Enum class for all the notification statuses.
 */
final class NotificationStatus {

	/**
	 * Status: 'pending'.
	 * Initial state when Double Opt-In (DOI) is active, awaiting user email verification.
	 * Not eligible for "back in stock" notifications until confirmed.
	 *
	 * @var string
	 */
	public const PENDING = 'pending';

	/**
	 * Status: 'active'.
	 * User's subscription is confirmed and they are waiting for a "back in stock" alert.
	 * This is the default for new subscriptions if DOI is disabled, or after DOI confirmation.
	 * Notifications in this state are processed when the product is available.
	 *
	 * @var string
	 */
	public const ACTIVE = 'active';

	/**
	 * Status: 'sent'.
	 * The "back in stock" notification email has been successfully dispatched.
	 * Typically a final state for that notification event.
	 *
	 * @var string
	 */
	public const SENT = 'sent';

	/**
	 * Status: 'cancelled'.
	 * The notification is no longer active and will not be sent.
	 * T