Class ValidationField
- Namespace
- Dynamicweb.Ecommerce.Orders.Validation
- Assembly
- Dynamicweb.Ecommerce.dll
The structure ValidationField represents Validation field.
[Serializable]
public class ValidationField
- Inheritance
-
ValidationField
- Inherited Members
Constructors
ValidationField(string, string, ValidationFieldType)
Initializes a new instance of the ValidationField class.
public ValidationField(string systemName, string niceName, ValidationFieldType type)
Parameters
systemName
string- The validation field system name.
niceName
string- The validation field friendly name.
type
ValidationFieldType- The validation field type.
Properties
NiceName
Gets or sets the validation field friendly name.
public string NiceName { get; set; }
Property Value
SystemName
Gets or sets the validation field system name.
public string SystemName { get; set; }
Property Value
Type
Gets or sets the validation field type.
public ValidationFieldType Type { get; set; }
Property Value
Methods
GetAllFields()
Gets all the validation fields.
public static List<ValidationField> GetAllFields()
Returns
GetAllFields(int)
Gets the validation fields by validation step number.
public static List<ValidationField> GetAllFields(int stepNumber)
Parameters
stepNumber
int- The validation step number.
Returns
GetCustomOrderFields()
Gets all the order custom fields.
public static List<ValidationField> GetCustomOrderFields()
Returns
GetFieldBySystemName(string)
Gets the validation fields by validation field system name.
public static ValidationField GetFieldBySystemName(string systemName)
Parameters
systemName
string- The validation field system name.
Returns
GetOrderLineFields()
Gets all the order orderline fields.
public static List<ValidationField> GetOrderLineFields()
Returns
GetStandardOrderFields()
Gets all the standard order fields.
public static List<ValidationField> GetStandardOrderFields()
Returns
GetStandardOrderFields(int)
Gets all the standard order fields by validation step number.
public static List<ValidationField> GetStandardOrderFields(int stepNumber)
Parameters
stepNumber
int- The validation step number.