<?php

namespace xlvask\config;

use Exception;
use traits\module_config_variable;

class xlvask_automatic_order_creation_enabled_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'xlvask',
            'automatic_order_creation_enabled',
            'bool',
            true,
            null,
            'Whether XL Vask usage logs may automatically create orders when no same-day order can be attached.',
            '0',
            false,
            'false'
        );
    }
}
