1<?php
2/**
3 * Copyright since 2007 PrestaShop SA and Contributors
4 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
5 *
6 * NOTICE OF LICENSE
7 *
8 * This source file is subject to the Open Software License (OSL 3.0)
9 * that is bundled with this package in the file LICENSE.md.
10 * It is also available through the world-wide-web at this URL:
11 * https://opensource.org/licenses/OSL-3.0
12 * If you did not receive a copy of the license and are unable to
13 * obtain it through the world-wide-web, please send an email
14 * to license@prestashop.com so we can send you a copy immediately.
15 *
16 * DISCLAIMER
17 *
18 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
19 * versions in the future. If you wish to customize PrestaShop for your
20 * needs please refer to https://devdocs.prestashop.com/ for more information.
21 *
22 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
23 * @copyright Since 2007 PrestaShop SA and Contributors
24 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
25 */
26
27declare(strict_types=1);
28
29namespace PrestaShop\PrestaShop\Core\Domain\Product;
30
31/**
32 * Holds value which represents how customizable the product is
33 */
34class ProductCustomizabilitySettings
35{
36    /**
37     * The product does not have any customiztion fields, so it is not customizable at all
38     */
39    public const NOT_CUSTOMIZABLE = 0;
40
41    /**
42     * The product has at least one customization field, but none of them are required
43     */
44    public const ALLOWS_CUSTOMIZATION = 1;
45
46    /**
47     * The product has at least one customization field which is required
48     */
49    public const REQUIRES_CUSTOMIZATION = 2;
50
51    /**
52     * This class shouldn't be instantiated as its purpose is to hold some setting values
53     */
54    private function __construct()
55    {
56    }
57}
58