iikoFront Api V7Preview7 Code Reference
iikoFront Api V7Preview7 Code Reference
Resto.Front.Api.Data.Orders
DiscountForOrderItem Class
DiscountForOrderItem Constructor
DiscountForOrderItem Properties
DiscountForOrderItem Methods

# DiscountForOrderItem Class

Describes discount for specific order item like IOrderRootItem, modifier IOrderModifierItem or compound product component IOrderCompoundItemComponent.
Inheritance Hierarchy
System
Object
Resto.Front.Api.Data.Orders
DiscountForOrderItem

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

    [SerializableAttribute]
    public class DiscountForOrderItem

The DiscountForOrderItem type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| DiscountForOrderItem | Initializes a new instance of the DiscountForOrderItem class.

Top
Properties

| Name | Description
--- | --- | ---
| Amount | The discount amount is a part of the dish amount that this discount applies to. The discount amount is equal to the dish amount if the discount applies to the whole item, otherwise the discount amount must be between zero and the dish amount.
| OrderItemId | Order item id.
| Sum | Sum of discount.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as the default hash function. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ToString | Returns a string that represents the current object. (Inherited from Object.)

Top
See Also

#### Reference

Resto.Front.Api.Data.Orders Namespace