# CashboxRestHandlerTable

URL: https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс `\Bitrix\Sale\Internals\CashboxRestHandlerTable`
Модуль: Sale.

## Описание

Поля:

ID int обязательное

NAME string(255) обязательное

CODE string(50) обязательное

SORT int необязательное по умолчанию 100

SETTINGS text обязательное

Исходный файл: `source/sale/lib/internals/cashboxresthandler.php:42`

## Константы (9)

- `EVENT_ON_ADD`
- `EVENT_ON_AFTER_ADD`
- `EVENT_ON_AFTER_DELETE`
- `EVENT_ON_AFTER_UPDATE`
- `EVENT_ON_BEFORE_ADD`
- `EVENT_ON_BEFORE_DELETE`
- `EVENT_ON_BEFORE_UPDATE`
- `EVENT_ON_DELETE`
- `EVENT_ON_UPDATE`

## Методы (52)

- [`static add()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/add/) — Добавляет строку в таблицу сущности
- [`static addMulti()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/addmulti/) — Добавляет несколько строк в таблицу сущности.
- [`static checkFields()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/checkfields/) — Проверяет поля данных перед сохранением в БД. Результат хранится в объекте $result
- [`static cleanCache()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/cleancache/) — Очищает кеш таблета после модификаций данных.
- [`static createCollection()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/createcollection/)
- [`static createObject()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/createobject/)
- [`static cryptoEnabled()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/cryptoenabled/) — Возвращает true, если для поля включено шифрование.
- [`static delete()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/delete/) — Удаляет строку в таблице сущности по первичному ключу
- [`static enableCrypto()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/enablecrypto/) — Устанавливает флаг, указывающий на поддержку шифрования для поля.
- [`static getById()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getbyid/) — Возвращает выборку по первичному ключу сущности
- [`static getByPrimary()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getbyprimary/) — Возвращает выборку по первичному ключу сущности и необязательным параметрам для getList()
- [`static getCollectionClass()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getcollectionclass/) — Возвращает класс коллекции объектов для текущей сущности.
- [`static getCollectionClassName()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getcollectionclassname/) — Возвращает имя класса (без пространства имён) коллекции объектов для текущей сущности.
- [`static getCollectionParentClass()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getcollectionparentclass/)
- [`static getConnectionName()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getconnectionname/) — Возвращает имя соединения для сущности
- [`static getCount()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getcount/) — Выполняет запрос COUNT к сущности и возвращает результат.
- [`static getEntity()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getentity/) — Возвращает объект сущности
- [`static getEntityClass()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getentityclass/)
- [`static getList()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getlist/) — Выполняет запрос и возвращает выборку по параметрам запроса. Эта функция является псевдонимом для функций объекта Query
- [`static getMap()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getmap/) — Возвращает описание карты сущности.
- [`static getObjectClass()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getobjectclass/) — Возвращает класс объекта для текущей сущности.
- [`static getObjectClassName()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getobjectclassname/) — Возвращает имя класса (без пространства имён) объекта для текущей сущности.
- [`static getObjectParentClass()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getobjectparentclass/)
- [`static getQueryClass()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getqueryclass/)
- [`static getRow()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getrow/) — Возвращает одну строку (или null) по параметрам для getList()
- [`static getRowById()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getrowbyid/) — Возвращает одну строку (или null) по первичному ключу сущности
- [`static getTableName()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/gettablename/) — Возвращает имя таблицы БД для сущности
- [`static getTitle()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/gettitle/)
- [`static getUfId()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/getufid/)
- [`static isCacheable()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/iscacheable/) — Вы можете полностью отключить кеш для таблета.
- [`static isUtm()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/isutm/)
- [`static isUts()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/isuts/)
- [`static onAdd()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onadd/)
- [`static onAfterAdd()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onafteradd/)
- [`static onAfterDelete()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onafterdelete/)
- [`static onAfterUpdate()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onafterupdate/)
- [`static onBeforeAdd()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onbeforeadd/)
- [`static onBeforeDelete()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onbeforedelete/)
- [`static onBeforeUpdate()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onbeforeupdate/)
- [`static onDelete()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/ondelete/)
- [`static onUpdate()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/onupdate/)
- [`static postInitialize()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/postinitialize/)
- [`static query()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/query/) — Создаёт и возвращает объект Query для сущности
- [`static setCurrentDeletingObject()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/setcurrentdeletingobject/)
- [`static setDefaultScope()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/setdefaultscope/)
- [`static unsetEntity()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/unsetentity/)
- [`static update()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/update/) — Обновляет строку в таблице сущности по первичному ключу
- [`static updateMulti()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/updatemulti/)
- [`static validateCode()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/validatecode/) — Возвращает валидаторы для поля CODE.
- [`static validateName()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/validatename/) — Возвращает валидаторы для поля NAME.
- [`static wakeUpCollection()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/wakeupcollection/)
- [`static wakeUpObject()`](https://chugunov.pro/api-bitrix/sale/internals/cashboxresthandlertable/wakeupobject/)

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Sale-Internals-CashboxRestHandlerTable.html
