IIdentifierCodeHandlerCheckIdentifierCodeSupport(IOrder, IOrderModifierItem, IOrderProductItem, String, Boolean) Method |
Determines whether this handler can process a raw input string representing a modifier code, and returns handler-specific processing flags.
Namespace: Resto.Front.Api.Data.OrdersAssembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
SyntaxIdentifierCodeSupportResult CheckIdentifierCodeSupport(
IOrder order,
IOrderModifierItem modifierItem,
IOrderProductItem parentOrderItem,
string code,
bool isDeleteMark
)
Parameters
- order IOrder
- The order associated with the code.
- modifierItem IOrderModifierItem
- The modifier item to which the code is being assigned.
- parentOrderItem IOrderProductItem
- The product item that the modifier is assigned to.
- code String
- Raw string input representing the modifier identifier code.
- isDeleteMark Boolean
- Indicates that the code was obtained while removing the modifier 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