<?php

namespace Planaday\Utility\Debug\Checking;

use Planaday\Utility\DataGrouping\Enum;

/**
 * @extends Enum<string>
 */
class ChecksEnum extends Enum {
	/* General checks */
	public const IS_DATABASE_VALID = 'isDatabaseValid';
	public const IS_API_KEY_SET = 'isApiKeySet';
	public const IS_API_URL_SET = 'isApiUrlSet';
	public const IS_THANKS_SET = 'isThanksSet';
	public const IS_DETAILS_PAGE_SET = 'isDetailsPageSet';
	public const IS_BOOKING_FORM_ON_DETAILS_PAGE = 'isBookingFormOnDetailsPage';
	public const IS_PAYMENT_ACTIVE = 'isPaymentActive';

	/* Payment checks*/
	public const IS_PAYTIUM_INSTALLED = 'isPaytiumInstalled';
	public const IS_PAYTIUM_TEST_KEY_SET = 'isPaytiumTestKeySet';
	public const IS_PAYTIUM_LIVE_KEY_SET = 'isPaytiumLiveKeySet';
	public const IS_PAYTIUM_TEST_MODE_ACTIVE = 'isPaytiumTestModeActive';
	public const IS_PAYMENT_PAGE_AVAILABLE = 'isPaymentPageAvailable';

	public static function getEnumArray(): array {
		return [
			'IS_DATABASE_VALID' => self::IS_DATABASE_VALID,
			'IS_API_KEY_SET' => self::IS_API_KEY_SET,
			'IS_API_URL_SET' => self::IS_API_URL_SET,
			'IS_THANKS_SET' => self::IS_THANKS_SET,
			'IS_DETAILS_PAGE_SET' => self::IS_DETAILS_PAGE_SET,
			'IS_BOOKING_FORM_ON_DETAILS_PAGE' => self::IS_BOOKING_FORM_ON_DETAILS_PAGE,
			'IS_PAYMENT_ACTIVE' => self::IS_PAYMENT_ACTIVE,

			'IS_PAYTIUM_INSTALLED' => self::IS_PAYTIUM_INSTALLED,
			'IS_PAYTIUM_TEST_KEY_SET' => self::IS_PAYTIUM_TEST_KEY_SET,
			'IS_PAYTIUM_LIVE_KEY_SET' => self::IS_PAYTIUM_LIVE_KEY_SET,
			'IS_PAYTIUM_TEST_MODE_ACTIVE' => self::IS_PAYTIUM_TEST_MODE_ACTIVE,
			'IS_PAYMENT_PAGE_AVAILABLE' => self::IS_PAYMENT_PAGE_AVAILABLE,
		];
	}
}