OperationServiceExtensionsChangeModifierItemVerificationResult Method |
Sets the verification result for an identifier code in a modifier item.
Namespace:
Resto.Front.Api.Extensions
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntaxpublic static void ChangeModifierItemVerificationResult(
this IOperationService operationService,
Guid identifierCodeId,
string sourceKey,
CodeVerificationResult verificationResult,
IOrder order,
IOrderModifierItem modifierItem,
ICredentials credentials
)
Parameters
- operationService
- Type: Resto.Front.ApiIOperationService
Operation service. - identifierCodeId
- Type: SystemGuid
Unique identifier of the marking code to update. - sourceKey
- Type: SystemString
Source identifier for the verification result. Should match a key in the VerificationResults VerificationResults dictionary. - verificationResult
- Type: Resto.Front.Api.Data.OrdersCodeVerificationResult
New verification result to apply. If null, the result for the specified source key will be removed. - order
- Type: Resto.Front.Api.Data.OrdersIOrder
Order that contains the product item. - modifierItem
- Type: Resto.Front.Api.Data.OrdersIOrderModifierItem
Modifier item containing the identifier code. - credentials
- Type: Resto.Front.Api.Data.SecurityICredentials
Credentials of the user. Required to pass permission and some other checks, as well as execute personalized operations.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IOperationService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also