Click or drag to resize

IOperationServiceCreateDiscountCard Method

Creates a new discount card.

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

Parameters

cardNumber
Type: SystemString
Number of discount card.
ownerName
Type: SystemString
Owner name of discount card.
priceCategory
Type: Resto.Front.Api.Data.OrdersIPriceCategory
Price category. Cannot be combined with discountType.
discountType
Type: Resto.Front.Api.Data.OrdersIDiscountType
Discount type. Cannot be combined with priceCategory.

Return Value

Type: IDiscountCard
See Also