Click or drag to resize

IOperationServiceSetKitchenOrderProcessingStatus(IKitchenOrder, ICredentials, NullableKitchenOrderProcessingStatus) Method

Changes cooking status of the kitchen order on behalf of the authorized user.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
void SetKitchenOrderProcessingStatus(
	IKitchenOrder order,
	ICredentials credentials,
	KitchenOrderProcessingStatus? newStatus = 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.
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