method
public
static
Manager::getPriceRange()
Сигнатура
public static getPriceRange(Payment $payment, mixed $paySystemId) : mixed
Параметры
$payment
Payment
$paySystemId
mixed
Возвращаемое значение
mixed
Как применяется в Manager
Manager::getPriceRange() — метод класса \Bitrix\Sale\Services\PaySystem\Restrictions\Manager модуля «Интернет-магазин».
Статический метод — вызывается через имя класса Manager, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Services\PaySystem\Restrictions\Manager;
Loader::includeModule('sale');
$payment = null; // Payment
$paySystemId = null;
$result = Manager::getPriceRange($payment, $paySystemId);
// $result: mixedДругие методы Manager
applyRestriction()Применяет ограничение к службеcheckService()getById()getClassesList()getEventName()getList()getRestrictionsList()getSitesByServiceId()setupDefaultRestrictions()Применяет к службе её ограничения по умолчанию
Исходный файл: source/sale/lib/services/paysystem/restrictions/manager.php:46

