DiscountRestrictionTable
DiscountRestrictionTable class for handling table with restrictions for applied discounts.
Class methods
Method | Description | Available from version |
---|---|---|
getMap | Returns list of fields for table with restrictions for applied discounts. | |
getTableName | Returns name for table with restrictions to discount application. | |
changeActiveByDiscount | Sets active status flag in table by a discount ID. | |
deleteByDiscount | Deletes list of restrictions by a discount ID. |
Field of restriction table
Field | Description | Type | Required |
---|---|---|---|
ID | Restriction ID. | Int | Да |
DISCOUNT_ID | Discount ID. | Int | Да |
ACTIVE | Active status flag (Y/N). | Char(1) | Нет |
USER_GROUP_ID | User Group ID. | Int | Нет |
PRICE_TYPE_ID | Price type ID. | Int | Нет |
© «Bitrix24», 2001-2024