method
public
static
RestService::onRestServiceBuildDescription()
Сигнатура
public static onRestServiceBuildDescription() : array<string|int, mixed>
Возвращаемое значение
array<string|int, mixed>
Как применяется в RestService
RestService::onRestServiceBuildDescription() — метод класса \Bitrix\Sale\PaySystem\RestService модуля «Интернет-магазин».
Статический метод — вызывается через имя класса RestService, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\PaySystem\RestService;
Loader::includeModule('sale');
$result = RestService::onRestServiceBuildDescription();
// $result: array<string|int, mixed>Другие методы RestService
addHandler()addPaySystem()deleteHandler()deletePaySystem()getHandlerList()getPaySystemList()getSettings()getSettingsByInvoice()getSettingsByPayment()onRestAppDelete()payInvoice()payPayment()
onRestServiceBuildDescription() есть и у других классов модуля «Интернет-магазин»: Handlers.
Исходный файл: source/sale/lib/paysystem/restservice.php:172

