Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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\Catalog\Model\Event
Definition
event.php:11
Bitrix\Main\DB\Result
Definition
result.php:19
Bitrix\Sale\Internals\Events
Definition
events.php:9
Bitrix\Sale\PaySystem\Cashbox\EventHandler
Definition
eventhandler.php:14
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onDisabledFiscalization
static onDisabledFiscalization(Sale\PaySystem\Service $service, string $kkmId)
Definition
eventhandler.php:47
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onDeletePaySystem
static onDeletePaySystem(Sale\PaySystem\Service $service)
Definition
eventhandler.php:37
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onBusinessValueUpdate
static onBusinessValueUpdate(Main\Event $event)
Definition
eventhandler.php:19
Bitrix\Sale\PaySystem\Cashbox\EventHandler\onUpdatePaySystem
static onUpdatePaySystem(Main\Event $event)
Definition
eventhandler.php:28
Bitrix\Sale\PaySystem\Cashbox\Events\DeleteCashboxesOnDeletePaySystem
Definition
deletecashboxesondeletepaysystem.php:8
Bitrix\Sale\PaySystem\Cashbox\Events\DeleteCashboxesOnDisabledFiscalization
Definition
deletecashboxesondisabledfiscalization.php:8
Bitrix\Sale\PaySystem\Cashbox\Events\ToggleCashboxesOnUpdatePaySystem
Definition
togglecashboxesonupdatepaysystem.php:10
Bitrix\Sale\PaySystem\Cashbox\Events\UpdateCashboxesOnBusinessValueUpdate
Definition
updatecashboxesonbusinessvalueupdate.php:12
Bitrix\Sale\PaySystem\Service
Definition
service.php:31
Bitrix\Main
Bitrix\Sale\PaySystem\Cashbox\Events
Definition
deletecashboxesondeletepaysystem.php:3
Bitrix\Sale\PaySystem\Cashbox
Definition
checktrait.php:3
Bitrix\Sale
Sale
modules
sale
lib
paysystem
cashbox
eventhandler.php
Создано системой
1.10.0