RestDeal::convert

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. RestDeal
  4. convert
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/recurring/entity/parametermapper/restdeal.php
  • Класс: Bitrix\Crm\Recurring\Entity\ParameterMapper\RestDeal
  • Вызов: RestDeal::convert
public function convert(Map $map)
{
	parent::convert($map);
	if ((int)$this->mode === Manager::MULTIPLY_EXECUTION)
	{
		if ($this->interval === 1)
		{
			$this->map[self::FIELD_MULTIPLE_CUSTOM_TYPE] = $this->unitType;
			$this->map[self::FIELD_MULTIPLE_CUSTOM_INTERVAL] = $this->interval;
		}
	}
}

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