<?php

namespace Sibs\Stargate\Constants;

defined('ABSPATH') || exit;

class Plugin
{
    public const PREFIX = 'sibs';
    public const PLUGIN_PREFIX = 'sibs_stg';
    public const PLUGIN_PREFIX_NAME = 'sibs-stg';

    // DEPRECATION VERSIONS
    public const DEPRECATION_MYSQL_VERSION = '5.5';
    public const DEPRECATION_PHP_VERSION = '7.4';  // https://www.php.net/releases/index.php
    public const DEPRECATION_WORDPRESS_VERSION = '5.9';  // https://codex.wordpress.org/WordPress_Versions
    public const DEPRECATION_WOOCOMMERCE_VERSION = '7.4';  // https://developer.woocommerce.com/releases/

    // WEBHOOK
    public const WEBHOOK_RETRY_QTY = 3;

    // REPORT ISSUE
    public const REPORT_ISSUE_EMAIL = 'stargate.support@sibs.com';

    // WEBHOOK
    public const WEBHOOK_TEST = 'WebhookTest';

    // WOOCOMMERCE META INFO
    public const WOOCOMMERCE_POST_TYPE_SHOP_ORDER = 'shop_order';

    // PAYMENT SETTINGS
    public const PAYMENT_DATE_VALUE = '3';
    public const PAYMENT_DATE_UNIT = 'day';
    public const NUMBER_OF_RETRIES = '30';
    public const RETRY_DELAY = '1';

    // ACKNOWLEDGEMENT
    public const ACK = 'ACK';
    public const NOK = 'NOK';
}
