Documentation

calculateRuleHash

boolean|string public static
\Bitrix\Sale\Internals\OrderDiscountTable::calculateRuleHash(
 array $discount
);

Method calculates hash amount for fields CONDITIONS and ACTIONS. Static method.

Parameters

ParameterDescriptionVersion
$discountArray with discount parameters.

Example



© «Bitrix24», 2001-2024
Up