OrderEntity::getFields

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. OrderEntity
  4. getFields
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/restview/orderentity.php
  • Класс: Bitrix\Crm\RestView\OrderEntity
  • Вызов: OrderEntity::getFields
public function getFields(): array
{
	return [
		'OWNER_ID'=>[
			'TYPE'=>DataType::TYPE_INT,
			'ATTRIBUTES'=>[
				Attributes::IMMUTABLE,
				Attributes::REQUIRED
			]
		],
		'OWNER_TYPE_ID'=>[
			'TYPE'=>DataType::TYPE_INT,
			'ATTRIBUTES'=>[
				Attributes::IMMUTABLE,
				Attributes::REQUIRED
			]
		],
		'ORDER_ID'=>[
			'TYPE'=>DataType::TYPE_INT,
			'ATTRIBUTES'=>[
				Attributes::IMMUTABLE,
				Attributes::REQUIRED
			]
		]
	];
}

Добавить комментарий