Click or drag to resize

IEditSessionChangeOrderLoyaltyDynamicDiscounts Method

Change iikoCard dynamic discounts for order.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void ChangeOrderLoyaltyDynamicDiscounts(
	IDictionary<Guid, decimal> dynamicDiscounts,
	IOrderStub order
)

Parameters

dynamicDiscounts
Type: System.Collections.GenericIDictionaryGuid, Decimal
Dynamic discounts dictionary. Key - applied manual condition id, Value - discount sum.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order to change loyalty dynamic discounts.
See Also