• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/cashbox/cashboxrest.php
  • Класс: BitrixSaleCashboxCashboxRest
  • Вызов: CashboxRest::getConfigStructure
static function getConfigStructure($handlerCode)
{
	$handlerParams = self::getHandlerParams($handlerCode);

	$result = $handlerParams["SETTINGS"]["CONFIG"];
	$result["REST"] = [
		"REQUIRED" => "Y",
		"ITEMS" => [
			"REST_CODE" => [
				"TYPE" => "STRING",
				"LABEL" => Loc::getMessage("SALE_CASHBOX_REST_HANDLER_CODE"),
				"READONLY" => true,
				"VALUE" => $handlerCode,
			]
		]
	];

	return $result;
}