• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/services/paysystem/restrictions/price.php
  • Класс: BitrixSaleServicesPaySystemRestrictionsPrice
  • Вызов: Price::getRange
static function getRange(Payment $payment, $params)
{
	if ($payment instanceof Payment)
	{
		$p = static::extractParams($payment);
		return array(
			'MAX' => static::getPrice($p, $params['MAX_VALUE']),
			'MIN' => static::getPrice($p, $params['MIN_VALUE']),
		);
	}

	throw new ArgumentTypeException('');
}