Click or drag to resize

IOperationService.GetPrice Method

Returns price for the product according to the given client price category.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
decimal GetPrice(
	IProduct product,
	IProductSize productSize,
	IPriceCategory priceCategory,
	DateTime pricingTime
)

Parameters

product
Type: Resto.Front.Api.Data.Assortment.IProduct
Product to get price for.
productSize
Type: Resto.Front.Api.Data.Assortment.IProductSize
Product size to get price for or null if the product doesn't have a scale.
priceCategory
Type: Resto.Front.Api.Data.Orders.IPriceCategory
Price category to get price according to.
pricingTime
Type: System.DateTime
Time for which calculated price.

Return Value

Type: Decimal
See Also