DiscountForOrderItem Constructor |
Namespace:
Resto.Front.Api.Data.Orders
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax public DiscountForOrderItem(
Guid orderItemId,
decimal sum,
decimal amount
)
Parameters
- orderItemId
- Type: SystemGuid
Order item id - sum
- Type: SystemDecimal
Sum of discount - amount
- Type: SystemDecimal
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