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.

DiscountRuleProviderBase<TSettingsType>

API reference for DiscountRuleProviderBase<TSettingsType> in Vendr, the eCommerce solution for Umbraco v8+

DiscountRuleProviderBase<TSettingsType>

public abstract class DiscountRuleProviderBase<TSettingsType> : DiscountRuleProviderBase, 
    IDiscountRuleProvider<TSettingsType>
    where TSettingsType : new()

Inheritance

Namespace

Properties

SettingDefinitions

public override IEnumerable<DiscountRuleProviderSettingDefinition> SettingDefinitions { get; }

Methods

ValidateRule

public override DiscountRuleResult ValidateRule(DiscountRuleContext context, 
    IReadOnlyDictionary<string, string> settings)

ValidateRule

public abstract DiscountRuleResult ValidateRule(DiscountRuleContext context, TSettingsType settings)

Edit this page on GitHub

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