1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
PromotionServiceInterface.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Im\V2\Promotion\Service
;
6
7
use
Bitrix\Im\V2\Promotion\Entity\PromotionList
;
8
use
Bitrix\Im\V2\Promotion\Internals\DeviceType
;
9
use
Bitrix\Im\V2\Promotion\Internals\PromotionType
;
10
use
Bitrix\Im\V2\Promotion\Entity
;
11
use
Bitrix\Main\Result
;
12
13
interface
PromotionServiceInterface
14
{
15
public
function
getActive
(
DeviceType
$type
= DeviceType::ALL):
PromotionList
;
16
public
function
getPromotionType
():
PromotionType
;
17
public
function
isCurrentTypePromotion
(
string
$promotionId): bool;
18
19
public
function
markAsViewed
(
Entity
\
Promotion
$promotion):
Result
;
20
}
$type
$type
Определения
options.php:106
Bitrix\Im\V2\Promotion\Entity\Promotion
Определения
Promotion.php:12
Bitrix\Im\V2\Promotion\Entity\PromotionList
Определения
PromotionList.php:14
Bitrix\Main\ORM\Data\Result
Определения
result.php:16
Bitrix\Im\V2\Promotion\Service\PromotionServiceInterface
Определения
PromotionServiceInterface.php:14
Bitrix\Im\V2\Promotion\Service\PromotionServiceInterface\getActive
getActive(DeviceType $type=DeviceType::ALL)
Bitrix\Im\V2\Promotion\Service\PromotionServiceInterface\markAsViewed
markAsViewed(Entity\Promotion $promotion)
Bitrix\Im\V2\Promotion\Service\PromotionServiceInterface\isCurrentTypePromotion
isCurrentTypePromotion(string $promotionId)
Bitrix\Im\V2\Promotion\Service\PromotionServiceInterface\getPromotionType
getPromotionType()
Bitrix\Im\V2\Promotion\Entity
Определения
Promotion.php:5
Bitrix\Im\V2\Promotion\Internals\PromotionType
PromotionType
Определения
PromotionType.php:8
Bitrix\Im\V2\Promotion\Internals\DeviceType
DeviceType
Определения
DeviceType.php:8
Bitrix\Im\V2\Promotion\Service
Определения
PromotionServiceInterface.php:5
bitrix
modules
im
lib
V2
Promotion
Service
PromotionServiceInterface.php
Создано системой
1.14.0