Registering Custom Identifier Code Handlers
The ability to register custom identifier code handlers has been added through the method RegisterIdentifierCodeHandlers.
Handler Capabilities
The handler can:
- Validate the format of the identifier code
- Perform checks and provide results
One code can be processed by multiple handlers independently. For example, one mark can be verified through a fiscal registrar and through the “Honest Sign” system.
IIdentifierCodeHandler Interface
IIdentifierCodeHandler includes the following methods:
IsIdentifierCodeSupported— determines whether the handler can recognize the code (for the order item or modifier) and returns specific flagsVerifyIdentifierCode— performs verification of the identifier code added to the item or modifier
Handler properties:
SourceKey— a unique key identifying the handlerDescription— a human-readable description of the handler