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

# IDiscountItem Properties

The IDiscountItem type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| DiscountType | Type of the discount item.
| IsSelectivelyApplied | 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.

Top
See Also

#### Reference

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