1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
site.php
См. документацию.
1<?php
2namespace Bitrix\Sale\Services\PaySystem\Restrictions;
3
4use Bitrix\Main\Localization\Loc;
5use Bitrix\Sale;
6use Bitrix\Sale\Services\Base;
7
8Loc::loadMessages(__FILE__);
9
15{
20 protected static function getOrder(Sale\Internals\Entity $entity)
21 {
22 if (!($entity instanceof Sale\Payment))
23 {
24 return null;
25 }
26
28 $collection = $entity->getCollection();
29
30 return $collection->getOrder();
31 }
32}
Определения payment.php:19
static getOrder(Entity $entity)
Определения siterestriction.php:62
$entity
Определения ufield.php:9