IEditSessionDeleteDiscount Method iikoFront Api V3 Documentation
Removes discount of known type to existing order. User must have rights to work with discounts.

Namespace: Resto.Front.Api.V3.Editors
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
Syntax

C#
void DeleteDiscount(
	IDiscountItem discountItem,
	IOrderStub order
)

Parameters

discountItem
Type: Resto.Front.Api.V3.Data.OrdersIDiscountItem
Discount to be removed.
order
Type: Resto.Front.Api.V3.EditorsIOrderStub
See Also

Reference