IOperationServiceSetKitchenOrderProcessingStatus(IKitchenOrder, ICredentials, NullableKitchenOrderProcessingStatus, NullableGuid) Method |
Changes cooking status of the kitchen order on behalf of the authorized user.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxvoid SetKitchenOrderProcessingStatus(
IKitchenOrder order,
ICredentials credentials,
KitchenOrderProcessingStatus? newStatus = null,
Guid? screenId = null
)
Parameters
- order IKitchenOrder
-
Order whose processing status needs to be changed.
- credentials ICredentials
-
The credentials returned by AuthenticateByPin(String) method.
- newStatus NullableKitchenOrderProcessingStatus (Optional)
-
New processing status to be set for the kitchen order. null if you want to return to calculating order status based on the statuses of its elements.
- screenId NullableGuid (Optional)
-
Identifier of the screen from which the kitchen order processing status is changed.
Remarks
By default, the status of a kitchen order is calculated from the statuses of its items. The status assigned by this operation overrides this logic.
See Also