Class OrderLineFieldService
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
public class OrderLineFieldService : ICacheStorage<string, OrderLineField>, ICacheStorage<string>, ICacheStorage
- Inheritance
-
Order
Line Field Service
- Implements
- Inherited Members
Methods
ClearCache()
Resets all keys to the default value for objects stored in the object cache
ClearRelationCaches()
Delete(OrderLineField)
Deletes a given order line field.
Parameters
field
OrderLine Field Field to delete.
DeleteOrderLineFieldRelationForGroup(string, OrderLineField)
Removes an order line field relation for a given Group.
Parameters
groupId
stringIdentifier of the group.
field
OrderLine Field Related order line field.
DeleteOrderLineFieldRelationForShop(string, OrderLineField)
Removes an order line field relation for a given Shop.
Parameters
shopId
stringIdentifier of the shop.
field
OrderLine Field Related order line field.
DeleteOrderLineFieldRelationsBySystemName(string)
Deletes all order line field relations by field system name.
Parameters
systemName
stringSystem name of the field.
DeleteOrderLineFieldRelationsForGroup(string)
Removes all order line field relations for a given Group.
Parameters
groupId
stringIdentifier of the group.
DeleteOrderLineFieldRelationsForShop(string)
Removes all order line field relations for a given Shop.
Parameters
shopId
stringIdentifier of the group.
GetOrderLineFieldBySystemName(string)
Gets an order line field by system name.
Parameters
systemName
stringSystem name of the field.
Returns
- Order
Line Field An instance of Order
Line , if found; otherwise, null.Field
GetOrderLineFieldRelationsByGroup(string)
Gets all order line field relations for a given Group.
Parameters
groupId
stringIdentifier of the group.
Returns
- Order
Line Field Collection A sorted collection of fields related to the given group.
GetOrderLineFieldRelationsByShop(string)
Gets all order line field relations for a given Shop.
Parameters
shopId
stringIdentifier of the shop.
Returns
- Order
Line Field Collection A sorted collection of fields related to the given shop.
GetOrderLineFields()
Gets all order line fields.
Returns
- Order
Line Field Collection A sorted collection of Order
Line .Field
Save(OrderLineField)
Saves a given order line field.
Parameters
field
OrderLine Field Field to save.
SaveOrderLineFieldRelationForGroup(string, OrderLineField)
Adds an order line field relation for a given Group.
Parameters
groupId
stringIdentifier of the group.
field
OrderLine Field Related order line field.
SaveOrderLineFieldRelationForShop(string, OrderLineField)
Adds an order line field relation for a given Shop.
Parameters
shopId
stringIdentifier of the shop.
field
OrderLine Field Related order line field.
SaveOrderLineFieldRelationsForGroup(string, OrderLineFieldCollection)
Saves the order line field relations for a given Group.
Parameters
groupId
stringIdentifier of the group.
fields
OrderLine Field Collection Related order line fields.
SaveOrderLineFieldRelationsForShop(string, OrderLineFieldCollection)
Saves the order line field relations for a given Shop.
Parameters
shopId
stringIdentifier of the shop.
fields
OrderLine Field Collection Related order line fields.