Table of Contents

Class VaucherNotExpiredRule

Namespace
Dynamicweb.Ecommerce.Orders.Validation.Rules
Assembly
Dynamicweb.Ecommerce.dll
The class VaucherNotExpiredRule represents Rule based on is Voucher expired checking.
[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

string

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.

Returns

bool
To top