string public \Bitrix\Main\UserConsent\Agreement::getId( );
Method returns agreement ID.
No parameters