Click or drag to resize

IOperationServiceCreateOrUpdateDiscountCard Method

Creating new discount card or change an existing. After invoke of this action you need set necessary properties such as OwnerName and CardNumber.

Namespace:  Resto.Front.Api.V5
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
IDiscountCard CreateOrUpdateDiscountCard(
	string cardNumber,
	string ownerName,
	IPriceCategory priceCategory,
	IDiscountType cardDiscountType
)

Parameters

cardNumber
Type: SystemString
Number of discount card.
ownerName
Type: SystemString
Owner name of discount card.
priceCategory
Type: Resto.Front.Api.V5.Data.OrdersIPriceCategory
Price category.
cardDiscountType
Type: Resto.Front.Api.V5.Data.OrdersIDiscountType
Discount type.

Return Value

Type: IDiscountCard
See Also