iikoFront Api V7 Code Reference
iikoFront Api V7 Code Reference
Resto.Front.Api.Data.Orders
IDiscountItem Interface
IDiscountItem Properties
DiscountType Property
IsSelectivelyApplied Property

# IDiscountItem IsSelectivelyApplied Property

Whether this discount item is applied selectively to some order items. If true, use TryGetSelectiveDiscountItemSettings(IOrder, IDiscountItem) to get or ChangeSelectiveDiscount(IOrderStub, IDiscountType, IReadOnlyList
IOrderProductItemStub
, IReadOnlyList
IOrderModifierItemStub
, IReadOnlyList
IOrderCompoundItemComponentStub
) to change list of selected order items.

Namespace: Resto.Front.Api.Data.Orders
Assembly: Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    bool IsSelectivelyApplied { get; }

#### Property Value

Type: Boolean
See Also

#### Reference

IDiscountItem Interface
Resto.Front.Api.Data.Orders Namespace