Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ValidateDiscountRulesChange

API reference for ValidateDiscountRulesChange in Vendr, the eCommerce solution for Umbraco v8+

ValidateDiscountRulesChange

public class ValidateDiscountRulesChange : ValidationEventBase

Inheritance

Namespace

Constructors

ValidateDiscountRulesChange

public ValidateDiscountRulesChange(DiscountReadOnly discount, 
    ChangingValue<DiscountRuleConfig> rules, ChangingValue<bool> blockFurtherDiscounts, 
    ChangingValue<bool> blockIfPreviousDiscounts)

Properties

BlockFurtherDiscounts

public ChangingValue<bool> BlockFurtherDiscounts { get; }

BlockIfPreviousDiscounts

public ChangingValue<bool> BlockIfPreviousDiscounts { get; }

Discount

public DiscountReadOnly Discount { get; }

Rules

public ChangingValue<DiscountRuleConfig> Rules { get; }

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.