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