method
public
Service::getDemoParams()
Сигнатура
public getDemoParams() : array<string|int, mixed>
Возвращаемое значение
array<string|int, mixed>
Как применяется в Service
Service::getDemoParams() — метод класса \Bitrix\Sale\PaySystem\Service модуля «Интернет-магазин».
Метод объекта: сначала нужен экземпляр Service.
use Bitrix\Main\Loader;
use Bitrix\Sale\PaySystem\Service;
Loader::includeModule('sale');
/** @var Service $object */
$result = $object->getDemoParams();
// $result: array<string|int, mixed>Другие методы Service
basketButtonAction()cancel()cancelRecurrent()canPrintCheck()canPrintCheckSelf()check()confirm()createClone()creditNoDemand()debitNoDemand()getCashboxClass()Возвращает имя класса кассы для платёжной системыgetClientType()Тип клиента, с которым может работать платёжная система
getDemoParams() есть и у других классов модуля «Интернет-магазин»: BaseServiceHandler, CompatibilityHandler, RestHandler, ServiceHandler.
Исходный файл: source/sale/lib/paysystem/service.php:954

