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

# DiscountForOrderItem Constructor

Initializes a new instance of the DiscountForOrderItem class.

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

    public DiscountForOrderItem(
    	Guid orderItemId,
    	decimal sum,
    	decimal amount
    )

#### Parameters

orderItemId
  Type: System
  Guid
  Order item id
sum
  Type: System
  Decimal
  Sum of discount
amount
  Type: System
  Decimal
  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.

See Also

#### Reference

DiscountForOrderItem Class
Resto.Front.Api.Data.Orders Namespace