Click or drag to resize

IEditSessionAddFlexibleSumDiscountByCardNumber Method

Add discount by card number

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.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.V5.Editors.StubsIOrderStub
Order where discount will be applied.
discountCard
Type: Resto.Front.Api.V5.Data.OrdersIDiscountCard
Iiko discount card data.
See Also