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
Methods
Validates(string)
Validates value according the giftcard exist and not expired checking.
  
  public override bool Validates(string value)
  Parameters
valuestring- The value as comma-separated(with ";" symbol) gift card codes.