# ExcludeLocation

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

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

## Описание

Класс ExcludeLocation
Исключает доставку по местоположению(ям)

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

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

- `static $$easeSort`

## Методы (16)

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

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