method
public
static
RestService::addPaySystem()
Сигнатура
public static addPaySystem(array<string|int, mixed> $params, mixed $n, CRestServer $server) : array<string|int, mixed>|int
Параметры
$params
array<string|int, mixed>
$n
mixed
$server
CRestServer
Возвращаемое значение
array<string|int, mixed>|int
Как применяется в RestService
RestService::addPaySystem() — метод класса \Bitrix\Sale\PaySystem\RestService модуля «Интернет-магазин».
Статический метод — вызывается через имя класса RestService, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\PaySystem\RestService;
Loader::includeModule('sale');
$params = [];
$n = null;
$server = null; // CRestServer
$result = RestService::addPaySystem($params, $n, $server);
// $result: array<string|int, mixed>|intДругие методы RestService
Исходный файл: source/sale/lib/paysystem/restservice.php:205

