IEditSessionAddDiscount Method |
Adds simple discount of known type to 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 AddDiscount(
IDiscountType discount,
IOrderStub order
)
Parameters
- discount IDiscountType
- Type of the discount
- order IOrderStub
- Order where discount will be applied.
See Also