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.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
INewOrderCookingItemStub SplitOrderCookingItem(
	decimal amount,
	IOrderStub order,
	IOrderCookingItemStub cookingItem
)

Parameters

amount
Type: SystemDecimal
Amount to cut off. Source cooking item's amount will be reduced by this amount, resultant item will get this amount.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order which contains the product.
cookingItem
Type: Resto.Front.Api.Editors.StubsIOrderCookingItemStub
Product to split.

Return Value

Type: INewOrderCookingItemStub
See Also