Nutritional value considering dish size
[v9preview2
v9
]
In API V9Preview2, it became possible to retrieve the nutritional value (FoodValue) of a specific dish considering its size.
The new field is available for regular order items:
For kitchen order items:
IKitchenOrderProductItem.FoodValueIKitchenOrderCompoundItemComponent.FoodValueIKitchenOrderModifierItem.FoodValue
And for order items from closed cash shifts:
The product contains corresponding decimal fields:
(IProduct.FoodValueCaloricity,
IProduct.FoodValueCarbohydrate,
IProduct.FoodValueFat,
IProduct.FoodValueProtein).