Class GiftCardValidCurrencyRule
- Namespace
- Dynamicweb.Ecommerce.Orders.Validation.Rules
- Assembly
- Dynamicweb.Ecommerce.dll
[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
value
stringThe value as comma-separated(with ";" symbol) gift card codes.