iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Orders
IAppliedDiscountItem Interface
IAppliedDiscountItem Properties
IAppliedDiscountItem Methods

# IAppliedDiscountItem Interface

The result of applying discount item, contains discount sums.

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

    public interface IAppliedDiscountItem : ISerializable

The IAppliedDiscountItem type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Discount | The discount item.
| DiscountSum | Total discount sum given by the discount item for all order items.
| DiscountSumByOrderItemId | Discount sums given by the discount item for each order item (products, compounds, services and modifiers). Absence of some order item's id means zero discount for that item.
| IsRounding | Indicates that the discount was used to round off the order sum. Depending on the settings, rounding can be performed up or down for individual items as well as for the entire order.

Top
Methods

| Name | Description
--- | --- | ---
| GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.)

Top
See Also

#### Reference

Resto.Front.Api.Data.Orders Namespace