• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/lib/marketplace/client.php
  • Класс: BitrixRestMarketplaceClient
  • Вызов: Client::onChangeSubscriptionDate
static function onChangeSubscriptionDate(Event $event): void
{
	if (static::isSubscriptionAvailable())
	{
		if (self::isStartDemoSubscription())
		{
			$eventDemo = new Event(
				'rest',
				'onSubscriptionIsDemo',
			);

			$eventDemo->send();
		}

		$event = new Event(
			'rest',
			'onSubscriptionRenew',
		);

		EventManager::getInstance()->send($event);
	}
}