OrderRulesTable
OrderRulesTable class for handling table with discounts and rules applied to order entities.
Class methods
Method | Description | Available from version |
---|---|---|
clearBasketSaleDiscount | Clears shopping cart discounts. | |
clearByBasketItem | Clears rules and discounts applied to a shopping cart item with code $basket . |
|
clearByOrder | Clears shopping cart discount rules, applied for order with code $order . |
|
getMap | Returns list of fields for table with rules and discounts applied to order entities. | |
getTableName | Returns name for table with rules and discounts applied to order entities. | |
validateEntityValue | Returns validator for the field ENTITY_VALUE (entity value). |
|
validateModuleId | Returns validator for the field MODULE_ID (module ID). |
© «Bitrix24», 2001-2024