| Server IP : 146.59.209.152 / Your IP : 216.73.216.152 Web Server : Apache System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/ipprint/wp-content/plugins/woocommerce/src/Api/Enums/Products/ |
Upload File : |
<?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;
}