HEX
Server: LiteSpeed
System: Linux premium212.web-hosting.com 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
User: vitanhod (1367)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //home/vitanhod/www/wp-content/plugins/woocommerce/src/Api/Enums/Products/StockStatus.php
<?php

declare(strict_types=1);

namespace Automattic\WooCommerce\Api\Enums\Products;

use Automattic\WooCommerce\Api\Attributes\Description;

#[Description( 'The stock status of a product.' )]
enum StockStatus: int {
	#[Description( 'The product is in stock.' )]
	case InStock = 1;

	#[Description( 'The product is out of stock.' )]
	case OutOfStock = 2;

	#[Description( 'The product is on backorder.' )]
	case OnBackorder = 3;

	#[Description( 'The stock status is not one of the standard WooCommerce values (e.g. added by a plugin). Inspect raw_stock_status for the underlying value.' )]
	case Other = 4;
}