Class VaucherNotExpiredRule
- Namespace
- Dynamicweb.Ecommerce.Orders.Validation.Rules
- Assembly
- Dynamicweb.Ecommerce.dll
[AddInName("Is not expired")]
[AddInUseParameters(false)]
[AddInOrder(0)]
public class VaucherNotExpiredRule : Rule
- Inheritance
-
VaucherNotExpiredRule
- Inherited Members
Properties
Parameters
The rule parameters.
public override string Parameters { get; set; }
Property Value
Methods
Validates(string)
Validates value according the "voucher exist and discount referenced by the code or containing list not expired" checking.
public override bool Validates(string value)
Parameters
value
string- The voucher code to validate.