# PersonType

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

Класс `\Bitrix\Sale\Services\PaySystem\Restrictions\PersonType`
Модуль: Sale.

## Описание

Базовый класс для ограничений сервисов оплаты и доставки.

Исходный файл: `source/sale/lib/services/paysystem/restrictions/persontype.php:19`

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

- `static $$easeSort`

## Методы (16)

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

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