<?php

namespace Planaday\Config\OptionGroups\Payment;

use Planaday\Utility\DataGrouping\Enum;

/**
 * @extends Enum<string>
 */
class PaymentOptionsEnum extends Enum {
	/** @var string boolean option */
	public const TEST_PAYMENT_ACTIVE = 'TEST_PAYMENT_ACTIVE';

	/** @var string boolean option */
	public const PAYMENT_ACTIVE = 'PAYMENT_ACTIVE';

	/** @var string boolean option */
	public const CANCEL_BOOKING_IF_NO_PAYMENT = 'CANCEL_BOOKING_IF_NO_PAYMENT';

	/** @var string string option */
	public const PAYMENT_NOTICE = 'PAYMENT_NOTICE';
	public const MOLLIE_API_KEY_TEST = 'MOLLIE_API_KEY_TEST';
	public const MOLLIE_API_KEY_LIVE = 'MOLLIE_API_KEY_LIVE';
	public const ALLOW_BULK_PAYMENT = 'ALLOW_BULK_PAYMENT';

	public static function getEnumArray(): array {
		return [
			'TEST_PAYMENT_ACTIVE'          => self::TEST_PAYMENT_ACTIVE,
			'PAYMENT_ACTIVE'               => self::PAYMENT_ACTIVE,
			'CANCEL_BOOKING_IF_NO_PAYMENT' => self::CANCEL_BOOKING_IF_NO_PAYMENT,
			'PAYMENT_NOTICE'               => self::PAYMENT_NOTICE,
			'MOLLIE_API_KEY_TEST'          => self::MOLLIE_API_KEY_TEST,
			'MOLLIE_API_KEY_LIVE'          => self::MOLLIE_API_KEY_LIVE,
			'ALLOW_BULK_PAYMENT'           => self::ALLOW_BULK_PAYMENT,
		];
	}
}