IOperationServiceGetComboItemPrice Method |
Returns combo-specific price for the product in the given combo group and combo size. Returns null if the combo price list has no entry for this combination.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxdecimal? GetComboItemPrice(
IProduct product,
IProductSize productSize,
Guid comboGroupId,
IProductSize comboSize,
IPriceCategory priceCategory,
DateTime pricingTime
)
Parameters
- product IProduct
-
Product to get combo price for.
- productSize IProductSize
-
Product size to get combo price for or null for base price.
- comboGroupId Guid
-
Identifier of the combo step (group) this product belongs to.
- comboSize IProductSize
-
Combo size to get price for or null for base combo price without size.
- priceCategory IPriceCategory
-
Price category to get price according to, or null for default.
- pricingTime DateTime
-
Time for which calculated price.
Return Value
NullableDecimal
See Also