Click or drag to resize

IOperationServiceUpdateDiscountCard Method

Updates an existing discount card.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
IDiscountCard UpdateDiscountCard(
	Guid id,
	string ownerName,
	IPriceCategory priceCategory,
	IDiscountType cardDiscountType
)

Parameters

id
Type: SystemGuid
Id of a discount card to update.
ownerName
Type: SystemString
New owner name for a discount card.
priceCategory
Type: Resto.Front.Api.Data.OrdersIPriceCategory
New price category for a discount card. Cannot be combined with cardDiscountType.
cardDiscountType
Type: Resto.Front.Api.Data.OrdersIDiscountType
New discount type for a discount card. Cannot be combined with priceCategory.

Return Value

Type: IDiscountCard
See Also