• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/paysystem/extra_service/manager.php
  • Класс: BitrixSalePaySystemExtraServiceManager
  • Вызов: Manager::getExtraServiceByEntity
static function getExtraServiceByEntity($entityId)
{
	static::initClassesList();

	$result = array();
	$params = array(
		'select' => array(
			'*',
			'VALUE' => 'PAYMENT.VALUE'
		),
		'filter' => array('PAY_SYSTEM_ID' => $entityId)
	);
	$dbResult = PaySystemExtraServiceTable::getList($params);

	while ($psExtraService = $dbResult->fetch())
		$result[$psExtraService['ID']] = $psExtraService;

	return $result;
}