Click or drag to resize

IEditSessionDeleteDiscount Method

Removes discount of known type to existing order. User must have rights to work with discounts.

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
void DeleteDiscount(
	IDiscountItem discountItem,
	IOrderStub order
)

Parameters

discountItem
Type: Resto.Front.Api.V5.Data.OrdersIDiscountItem
Discount to be removed.
order
Type: Resto.Front.Api.V5.Editors.StubsIOrderStub
See Also