HEX
Server: Apache
System: Linux host17.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User: shrsglobal (7178)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //home/shrsglobal/www/wp-content/plugins/woocommerce/src/Internal/Agentic/Enums/Specs/ErrorCode.php
<?php
declare(strict_types=1);
namespace Automattic\WooCommerce\Internal\Agentic\Enums\Specs;

/**
 * Error codes for message errors as defined in the Agentic Commerce Protocol.
 */
class ErrorCode {
	/**
	 * Required field is missing.
	 */
	const MISSING = 'missing';

	/**
	 * Field value is invalid.
	 */
	const INVALID = 'invalid';

	/**
	 * Product is out of stock.
	 */
	const OUT_OF_STOCK = 'out_of_stock';

	/**
	 * Payment was declined.
	 */
	const PAYMENT_DECLINED = 'payment_declined';

	/**
	 * User sign-in is required.
	 */
	const REQUIRES_SIGN_IN = 'requires_sign_in';

	/**
	 * 3D Secure authentication is required.
	 */
	const REQUIRES_3DS = 'requires_3ds';
}