Click or drag to resize

IOperationService.CreateDiscountCard Method

Creates a new discount card.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
IDiscountCard CreateDiscountCard(
	string cardNumber,
	string ownerName,
	IPriceCategory priceCategory,
	IDiscountType discountType
)

Parameters

cardNumber
Type: System.String
Number of discount card.
ownerName
Type: System.String
Owner name of discount card.
priceCategory
Type: Resto.Front.Api.Data.Orders.IPriceCategory
Price category. Cannot be combined with discountType.
discountType
Type: Resto.Front.Api.Data.Orders.IDiscountType
Discount type. Cannot be combined with priceCategory.

Return Value

Type: IDiscountCard
See Also