Click or drag to resize

IEditSessionAddCardLoyaltyDiscounts Method

Adds discounts grouped by order items.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
void AddCardLoyaltyDiscounts(
	IReadOnlyCollection<CardLoyaltyDiscount> discounts,
	IOrderStub order
)

Parameters

discounts  IReadOnlyCollectionCardLoyaltyDiscount
Card loyalty discount data.
order  IOrderStub
Order where discounts will be applied.
See Also