Click or drag to resize

IOperationServiceTryGetSelectiveDiscountItemSettings Method

Returns order items to which the specified selective discount item is applied or null if the discount item is applied to the whole order.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
ISelectiveDiscountItemSettings TryGetSelectiveDiscountItemSettings(
	IOrder Order,
	IDiscountItem DiscountItem
)

Parameters

Order
Type: Resto.Front.Api.Data.OrdersIOrder
Order to get selective discount item settings from.
DiscountItem
Type: Resto.Front.Api.Data.OrdersIDiscountItem
Selective discount item.

Return Value

Type: ISelectiveDiscountItemSettings
See Also