Click or drag to resize

IOperationServiceGetPrice Method

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

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
decimal 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