Pool::setRewardPerAssignment

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. Pool
  4. setRewardPerAssignment
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/yandex/toloka/dto/pool.php
  • Класс: Bitrix\Sender\Integration\Yandex\Toloka\DTO\Pool
  • Вызов: Pool::setRewardPerAssignment
public function setRewardPerAssignment(float $rewardPerAssignment): Pool
{
	$rewardPerAssignment = number_format(
		(float)round(
			$rewardPerAssignment,
			2,
			PHP_ROUND_HALF_DOWN
		),
		2,
		'.',
		''
	);
	$this->rewardPerAssignment = $rewardPerAssignment;

	return $this;
}

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