IEditSessionAddCardLoyaltyDiscounts Method |
Adds discounts grouped by order items.
Namespace:
Resto.Front.Api.Editors
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntaxvoid AddCardLoyaltyDiscounts(
IReadOnlyCollection<CardLoyaltyDiscount> discounts,
IOrderStub order
)
Parameters
- discounts
- Type: System.Collections.GenericIReadOnlyCollectionCardLoyaltyDiscount
Card loyalty discount data. - order
- Type: Resto.Front.Api.Editors.StubsIOrderStub
Order where discounts will be applied.
See Also