Class GiftCardValidCurrencyRule
- Namespace
 - Dynamicweb.Ecommerce.Orders.Validation.Rules
 
- Assembly
 - Dynamicweb.Ecommerce.dll
 
The class GiftCardValidCurrencyRule represents Rule based on is   currency proper checking.
  
  [AddInName("Is currency proper")]
[AddInUseParameters(false)]
[AddInOrder(0)]
public class GiftCardValidCurrencyRule : Rule
  - Inheritance
 - 
      
      
      GiftCardValidCurrencyRule
 
- 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 have currency code equal to current Context cart currency code checking.
  
  public override bool Validates(string value)
  Parameters
valuestring- The value as comma-separated(with ";" symbol) gift card codes.