Click or drag to resize

IEditSessionSplitOrderCookingItem Method

Cut off specified amount from product to new one.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
INewOrderCookingItemStub SplitOrderCookingItem(
	decimal amount,
	IOrderStub order,
	IOrderCookingItemStub cookingItem
)

Parameters

amount  Decimal
Amount to cut off. Source cooking item's amount will be reduced by this amount, resultant item will get this amount.
order  IOrderStub
Order which contains the product.
cookingItem  IOrderCookingItemStub
Product to split.

Return Value

INewOrderCookingItemStub
See Also