• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/api/api.php
  • Класс: BitrixSaleTradingPlatformVkApiApi
  • Вызов: Api::__construct
public function __construct($accessToken, $exportId)
{
	$this->exportId = $exportId;
	$this->response = array();
	
	if ($accessToken)
	{
		$this->accessToken = $accessToken;
	}
	else
	{
		throw new ArgumentNullException('accessToken');
	}
}