IOperationServiceGetPrice Method |
Returns price for the product according to the given client price category.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxdecimal GetPrice(
IProduct product,
IProductSize productSize,
IPriceCategory priceCategory,
DateTime pricingTime
)
Parameters
- product IProduct
-
Product to get price for.
- productSize IProductSize
-
Product size to get price for or null if the product doesn't have a scale.
- priceCategory IPriceCategory
-
Price category to get price according to.
- pricingTime DateTime
-
Time for which calculated price.
Return Value
Decimal
See Also