Table of Contents

Class GiftCardNotExpiredRule

Namespace
Dynamicweb.Ecommerce.Orders.Validation.Rules
Assembly
Dynamicweb.Ecommerce.dll
The class GiftCardNotExpiredRule represents Rule based on is expired checking.
[AddInName("Is not expired")]
[AddInUseParameters(false)]
[AddInOrder(0)]
public class GiftCardNotExpiredRule : Rule
Inheritance
GiftCardNotExpiredRule
Inherited Members

Properties

Parameters

The rule parameters.
public override string Parameters { get; set; }

Property Value

string

Methods

Validates(string)

Validates value according the giftcard exist and not expired checking.
public override bool Validates(string value)

Parameters

value string
The value as comma-separated(with ";" symbol) gift card codes.

Returns

bool
To top