IEditSessionChangeSelectiveDiscount Method (IReadOnlyListValueTupleGuid, Decimal, IOrderStub, IDiscountType) |
Change discount item selective application settings. For each item Id, the discount amount is set separately.
Namespace:
Resto.Front.Api.Editors
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntaxvoid ChangeSelectiveDiscount(
IReadOnlyList<(Guid , decimal )> itemsIdWithSum,
IOrderStub order,
IDiscountType discountType
)
Parameters
- itemsIdWithSum
- Type: System.Collections.GenericIReadOnlyListValueTupleGuid, Decimal
List of order item ids with specified discount sums to which the discount item can be applied to. - order
- Type: Resto.Front.Api.Editors.StubsIOrderStub
Order containing the discount item. - discountType
- Type: Resto.Front.Api.Data.OrdersIDiscountType
Type of discount item to update.
See Also