DiscountForOrderItem Constructor |
Namespace: Resto.Front.Api.Data.OrdersAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxpublic DiscountForOrderItem(
Guid orderItemId,
decimal sum,
decimal amount
)
Parameters
- orderItemId Guid
- Order item id
- sum Decimal
- Sum of discount
- amount 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