24 public function query(array $params = array())
26 $methodName =
'checkout.yandex.'.$params[
'methodName'];
27 $parameters = isset($params[
'parameters']) ? $params[
'parameters'] : [];
28 $engine =
new EngineBitrix();
29 if (!$engine->isRegistered())
34 $response = $engine->getInterface()->getTransport()->call($methodName, $parameters);
35 return ((isset($response[
'result'][
'RESULT']) && $response[
'result'][
'RESULT'])
36 ? $response[
'result'][
'RESULT']