Click or drag to resize

IEditSessionDeleteDiscount Method

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

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

Parameters

discountItem
Type: Resto.Front.Api.Data.OrdersIDiscountItem
Discount to be removed.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order to delete discount from.
See Also