• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/order/matcher/bankdetailmatcher.php
  • Класс: Bitrix\Crm\Order\Matcher\BankDetailMatcher
  • Вызов: BankDetailMatcher::normalizeHashArray
protected function normalizeHashArray(array $entity)
{
	return [
		'RQ_NAME' => isset($entity['RQ_NAME']) ? (string)$entity['RQ_NAME'] : (string)$entity['NAME'],
		'RQ_PRESET_ID' => isset($entity['RQ_PRESET_ID']) ? (int)$entity['RQ_PRESET_ID'] : (int)$entity['PRESET_ID'],
		'NAME' => isset($entity['BD_NAME']) ? (string)$entity['BD_NAME'] : (string)$entity['NAME'],
		'COUNTRY_ID' => isset($entity['BD_COUNTRY_ID']) ? (int)$entity['BD_COUNTRY_ID'] : (int)$entity['COUNTRY_ID']
	];
}