<?php

namespace Planaday\Config\OptionGroups\Booking\Form\Company;

use Planaday\Utility\DataGrouping\Enum;

class CompanyOptionsEnum extends Enum {
	/** @var string option group */
	public const INVOICE = 'INVOICE';

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

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

	public const ASK_PHONE_NUMBER = 'ASK_PHONE_NUMBER';
	public const PHONE_NUMBER_REQUIRED = 'PHONE_NUMBER_REQUIRED';

	/**
	 * @inheritDoc
	 */
	public static function getEnumArray(): array {
		return [
			'INVOICE' => self::INVOICE,
			'ALLOW_COMPANIES' => self::ALLOW_COMPANIES,
			'AS_COMPANY_DEFAULT' => self::AS_COMPANY_DEFAULT,
			'ASK_PHONE_NUMBER' => self::ASK_PHONE_NUMBER,
			'PHONE_NUMBER_REQUIRED' => self::PHONE_NUMBER_REQUIRED,
		];
	}
}