Click or drag to resize

IEditSessionAddFlexibleSumDiscountByCardNumber Method

Add discount by card number

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