Click or drag to resize

IEditSession.AddDiscountByCardNumber Method

Add discount by card number.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V7Preview7 (in Resto.Front.Api.V7Preview7.dll)
Syntax
C#
void AddDiscountByCardNumber(
	string cardNumber,
	IOrderStub order,
	IDiscountCard discountCard
)

Parameters

cardNumber
Type: System.String
Number of iiko discount card.
order
Type: Resto.Front.Api.Editors.Stubs.IOrderStub
Order where discount will be applied.
discountCard
Type: Resto.Front.Api.Data.Orders.IDiscountCard
Iiko discount card data.
See Also