Table of Contents

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

string

SystemName

Gets or sets the validation field system name.

public string SystemName { get; set; }

Property Value

string

Type

Gets or sets the validation field type.

public ValidationFieldType Type { get; set; }

Property Value

ValidationFieldType

Methods

GetAllFields()

Gets all the validation fields.

public static List<ValidationField> GetAllFields()

Returns

List<ValidationField>

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

List<ValidationField>

GetCustomOrderFields()

Gets all the order custom fields.

public static List<ValidationField> GetCustomOrderFields()

Returns

List<ValidationField>

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

ValidationField

GetOrderLineFields()

Gets all the order orderline fields.

public static List<ValidationField> GetOrderLineFields()

Returns

List<ValidationField>

GetStandardOrderFields()

Gets all the standard order fields.

public static List<ValidationField> GetStandardOrderFields()

Returns

List<ValidationField>

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.

Returns

List<ValidationField>
To top