• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/exchange/onec/importcriterion.php
  • Класс: BitrixSaleExchangeOneCCriterionProfile
  • Вызов: CriterionProfile::setEntity
public function setEntity($entity = null)
{
	if(!empty($entity) && !($entity instanceof ExchangeProfileImport))
		throw new MainArgumentException("Entity must be instanceof ProfileImport");

	parent::setEntity($entity);
}