Class ConditionRule
- Namespace
- Dynamicweb.Ecommerce.Loyalty
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about condition for reward
public class ConditionRule
- Inheritance
-
ConditionRule
- Inherited Members
Properties
ConditionTypes
Gets or sets types of conditions
public Dictionary<ConditionRuleType, string> ConditionTypes { get; set; }
Property Value
Rule
Gets or sets the RewardRule.
public RewardRule Rule { get; set; }
Property Value
Methods
AddConditionType(ConditionRuleType, string)
Adds a condition type required for rule acceptance.
public void AddConditionType(ConditionRuleType condition, string conditionObjective)
Parameters
condition
ConditionRuleType- The condition type.
conditionObjective
string