Click or drag to resize

IOperationServiceUpdateDiscountCard Method

Updates an existing discount card.

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

Parameters

id
Type: SystemGuid
Id of a discount card to update.
cardNumber
Type: SystemString
New number for a discount card.
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 discountType.
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