Click or drag to resize

IIdentifierCodeHandler Interface

Interface for extending the processing and verification of identifier codes (e.g. DataMatrix, GTIN, manually entered codes).

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
public interface IIdentifierCodeHandler

The IIdentifierCodeHandler type exposes the following members.

Properties
  NameDescription
Public propertyDescription
Human-readable description of the handler.
Public propertySourceKey
Unique key identifying this handler. Used to associate verification results and processing flags with the handler.
Top
Methods
  NameDescription
Public methodIsIdentifierCodeSupported(IOrder, IOrderProductItem, String, IdentifierCodeHandlerFlags)
Determines whether this handler can process a raw input string representing a product code, and returns handler-specific processing flags.
Public methodIsIdentifierCodeSupported(IOrder, IOrderModifierItem, IOrderProductItem, String, IdentifierCodeHandlerFlags)
Determines whether this handler can process a raw input string representing a modifier code, and returns handler-specific processing flags.
Public methodVerifyIdentifierCode(IOrder, IOrderProductItem, OrderItemIdentifierCode)
Performs verification of an identifier code previously added to a product item.
Public methodVerifyIdentifierCode(IOrder, IOrderModifierItem, IOrderProductItem, OrderItemIdentifierCode)
Performs verification of an identifier code previously added to a modifier item.
Top
Remarks
Multiple handlers can be registered and may process the same code. Each handler must provide a unique SourceKey used to associate verification results and processing metadata.
See Also