# BySite

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

Класс `\Bitrix\Sale\Delivery\Restrictions\BySite`
Модуль: Sale.

## Описание

Класс BySite
Ограничивает доставку по сайту

Исходный файл: `source/sale/lib/delivery/restrictions/bysite.php:17`

## Свойства (1)

- `static $$easeSort`

## Методы (15)

- [`static check()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/check/) — Проверка параметров службы на соответствие ограничению.
- [`static checkByEntity()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/checkbyentity/) — Проверка параметров службы на соответствие ограничению по сущности.
- [`static delete()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/delete/)
- [`static getClassDescription()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/getclassdescription/)
- [`static getClassTitle()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/getclasstitle/)
- [`static getCode()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/getcode/) — Получить код ограничения, сопоставимый с кодом ограничения обработчика службы.
- [`static getOnApplyErrorMessage()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/getonapplyerrormessage/) — Возвращает сообщение, которое отображается при возникновении ошибки во время применения ограничения
- [`static getParamsStructure()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/getparamsstructure/) — Возвращает структуру параметров для отображения пользователю
- [`static getSeverity()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/getseverity/)
- [`static isAvailable()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/isavailable/)
- [`static isMyCode()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/ismycode/)
- [`static prepareData()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/preparedata/)
- [`static prepareParamsValues()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/prepareparamsvalues/)
- [`static save()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/save/)
- [`static validateRestriction()`](https://chugunov.pro/api-bitrix/sale/delivery/restrictions/bysite/validaterestriction/) — Проверка ограничения на соответствие бизнес-правилам.

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