IIdentifierCodeHandlerIsIdentifierCodeSupported Method (IOrder, IOrderProductItem, String, IdentifierCodeHandlerFlags) |
Determines whether this handler can process a raw input string representing a product code, and returns handler-specific processing flags.
Namespace:
Resto.Front.Api.Data.Orders
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntaxbool IsIdentifierCodeSupported(
IOrder order,
IOrderProductItem orderItem,
string code,
out IdentifierCodeHandlerFlags flags
)
Parameters
- order
- Type: Resto.Front.Api.Data.OrdersIOrder
The order associated with the code. - orderItem
- Type: Resto.Front.Api.Data.OrdersIOrderProductItem
The product item to which the code is being assigned. - code
- Type: SystemString
Raw string input representing the product identifier code. - flags
- Type: Resto.Front.Api.Data.OrdersIdentifierCodeHandlerFlags
Output parameter. Handler-specific flags describing the properties of the code. Must be set if method returns true.
Return Value
Type:
Booleantrue if this handler can process the code; otherwise,
false.
Remarks
See Also