• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/payment.php
  • Класс: BitrixSaleControllerPayment
  • Вызов: Payment::setAvailablePaySystemsAction
public function setAvailablePaySystemsAction(BitrixSalePayment $payment, array $paySystemIds)
{
	$result = PaymentAvailablesPaySystems::setBindings($payment->getId(), $paySystemIds);	
	if ($errors = $result->getErrors())
	{
		$this->addErrors($errors);
		return null;
	}
	return true;
}