1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
eventhandler.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sale\PaySystem\Cashbox;
4
5
use Bitrix\Main;
6
use Bitrix\Sale;
7
use Bitrix\Sale\PaySystem\Cashbox\Events;
8
13
class
EventHandler
14
{
19
public
static
function
onBusinessValueUpdate
(
Main
\
Event
$event
):
Sale
\
Result
20
{
21
return
(
new
Events
\
UpdateCashboxesOnBusinessValueUpdate
(
$event
))->executeEvent();
22
}
23
28
public
static
function
onUpdatePaySystem
(
Main
\
Event
$event
):
Sale
\
Result
29
{
30
return
(
new
Events
\
ToggleCashboxesOnUpdatePaySystem
(
$event
))->executeEvent();
31
}
32
37
public
static
function
onDeletePaySystem
(
Sale
\
PaySystem
\
Service
$service
):
Sale
\
Result
38
{
39
return
(
new
Events
\
DeleteCashboxesOnDeletePaySystem
(
$service
))->executeEvent();
40
}
41
47
public
static
function
onDisabledFiscalization
(
Sale
\
PaySystem
\
Service
$service
,
string
$kkmId):
Sale
\
Result
48
{
49
return
(
new
Events
\
DeleteCashboxesOnDisabledFiscalization
(
$service
, $kkmId))->executeEvent();
50
}
51
}
Bitrix\Sale\PaySystem\Cashbox\EventHandler
Определения
eventhandler.php:14
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onDisabledFiscalization
static onDisabledFiscalization(Sale\PaySystem\Service $service, string $kkmId)
Определения
eventhandler.php:47
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onDeletePaySystem
static onDeletePaySystem(Sale\PaySystem\Service $service)
Определения
eventhandler.php:37
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onBusinessValueUpdate
static onBusinessValueUpdate(Main\Event $event)
Определения
eventhandler.php:19
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onUpdatePaySystem
static onUpdatePaySystem(Main\Event $event)
Определения
eventhandler.php:28
Bitrix\Sale\PaySystem\Cashbox\Events\DeleteCashboxesOnDeletePaySystem
Определения
deletecashboxesondeletepaysystem.php:8
Bitrix\Sale\PaySystem\Cashbox\Events\DeleteCashboxesOnDisabledFiscalization
Определения
deletecashboxesondisabledfiscalization.php:8
Bitrix\Sale\PaySystem\Cashbox\Events\ToggleCashboxesOnUpdatePaySystem
Определения
togglecashboxesonupdatepaysystem.php:10
Bitrix\Sale\PaySystem\Cashbox\Events\UpdateCashboxesOnBusinessValueUpdate
Определения
updatecashboxesonbusinessvalueupdate.php:12
Bitrix\Main\Service
Bitrix\Main
Bitrix\Rest\Event
Определения
buffer.php:3
Bitrix\Sale\Discount\Result
Определения
compatibleformat.php:2
Bitrix\Sale\Internals\Analytics\Events
Определения
event.php:3
Bitrix\Sale\PaySystem
Определения
applepay.php:3
Bitrix\Sale
$service
$service
Определения
payment.php:18
$event
$event
Определения
prolog_after.php:141
bitrix
modules
sale
lib
paysystem
cashbox
eventhandler.php
Создано системой
1.14.0