Click or drag to resize

IEditSessionAddFlexibleSumDiscountByCardNumber 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 AddFlexibleSumDiscountByCardNumber(
	string cardNumber,
	decimal sum,
	IOrderStub order,
	IDiscountCard discountCard
)

Parameters

cardNumber
Type: SystemString
Number of iiko discount card.
sum
Type: SystemDecimal
Discount sum.
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