method public static

RestService::getSettingsByInvoice()

Класс: \Bitrix\Sale\PaySystem\RestService

Сигнатура

public static getSettingsByInvoice(array<string|int, mixed> $params, mixed $n, CRestServer $server) : array<string|int, mixed>

Параметры

$params array<string|int, mixed>
$n mixed
$server CRestServer

Возвращаемое значение

array<string|int, mixed>

Как применяется в RestService

RestService::getSettingsByInvoice() — метод класса \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::getSettingsByInvoice($params, $n, $server);
// $result: array<string|int, mixed>

Другие методы RestService

Исходный файл: source/sale/lib/paysystem/restservice.php:1032

Что будем искать? Например,Продвижение