Click or drag to resize

IEditSessionAddDiscountByCardNumber Method

Add discount by card number.

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

Parameters

cardNumber
Type: SystemString
Number of iiko discount card.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order where discount will be applied.
discountCard
Type: Resto.Front.Api.Data.OrdersIDiscountCard
Iiko discount card data.
See Also