Click or drag to resize

IEditSessionDecreasePrintedComboAmount Method

Decrease combo with printed items amount. All redundant copies of items will be deleted according to writeoffOptions.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void DecreasePrintedComboAmount(
	int newAmount,
	WriteoffOptions writeoffOptions,
	IOrderComboStub combo,
	IOrderStub order
)

Parameters

newAmount
Type: SystemInt32
New combo amount. Must be less than current.
writeoffOptions
Type: Resto.Front.Api.Data.OrdersWriteoffOptions
Object that describes how part of decreased combo`s items should be removed and charged-off.
combo
Type: Resto.Front.Api.Editors.StubsIOrderComboStub
Combo with printed items which amount will be decreased.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order which combo amount will be decreased.
See Also