* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Webservice\ValueObject; /** * Defines available permissions for Webservice keys */ class Permission { /** * @var string Permission to view resource */ public const VIEW = 'GET'; /** * @var string Permission to view resource */ public const FAST_VIEW = 'HEAD'; /** * @var string Permission to modify existing resource */ public const MODIFY = 'PUT'; /** * @var string Permission to patch existing resource */ public const PATCH = 'PATCH'; /** * @var string Permission to add new resource */ public const ADD = 'POST'; /** * @var string Permission to delete existing resource */ public const DELETE = 'DELETE'; }