IIdentifierCodeHandlerCheckIdentifierCodeSupport(IOrder, IOrderProductItem, String, Boolean) Method |
Determines whether this handler can process a raw input string representing a product code,
and returns detailed support information.
Namespace: Resto.Front.Api.Data.OrdersAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
SyntaxIdentifierCodeSupportResult CheckIdentifierCodeSupport(
IOrder order,
IOrderProductItem orderItem,
string code,
bool isDeleteMark
)
Parameters
- order IOrder
- The order associated with the code.
- orderItem IOrderProductItem
- The product item to which the code is being assigned.
- code String
- Raw string input representing the product identifier code.
- isDeleteMark Boolean
- Indicates that the code was obtained while removing the product from the order.
Return Value
IdentifierCodeSupportResult
An
IdentifierCodeSupportResult containing:
- IsSupported — whether this handler can process the code.
- CodeHandlerFlags Handler-specific flags describing the properties of the code. Must be set if method returns true
- Message — optional descriptive message.
Remarks
See Also