Table of Contents

Class OrderFieldService

Namespace
Dynamicweb.Ecommerce.Orders
Assembly
Dynamicweb.Ecommerce.dll
public class OrderFieldService : ICacheStorage<string, OrderField>, ICacheStorage<string>, ICacheStorage
Inheritance
OrderFieldService
Implements
Inherited Members

Methods

ClearCache()

Resets all keys to the default value for objects stored in the object cache
public void ClearCache()

Delete(OrderField)

public void Delete(OrderField field)

Parameters

field OrderField

GetOrderFieldById(string)

Gets an order field by id.
public OrderField GetOrderFieldById(string id)

Parameters

id string
Order field id.

Returns

OrderField

GetOrderFields()

Gets all order fields.
public OrderFieldCollection GetOrderFields()

Returns

OrderFieldCollection
A sequence of OrderField.

IsExistingFieldSystemName(string)

Check for the existence of a OrderField with the given system name
public bool IsExistingFieldSystemName(string systemName)

Parameters

systemName string
Field system name

Returns

bool
true, if field exists; otherwise, false.

IsValidFieldSystemName(string, bool)

Verifies if a given field system name is valid.
public bool IsValidFieldSystemName(string systemName, bool isNew)

Parameters

systemName string
System name to validate.
isNew bool
Whether the field is new.

Returns

bool

Save(OrderField)

public void Save(OrderField field)

Parameters

field OrderField
To top