IEditSessionDeleteDiscount Method |
Removes discount of known type from existing order. User must have rights to work with discounts.
Namespace: Resto.Front.Api.EditorsAssembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntaxvoid DeleteDiscount(
IDiscountItem discountItem,
IOrderStub order
)
Parameters
- discountItem IDiscountItem
- Discount to be removed.
- order IOrderStub
- Order to delete discount from.
See Also