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.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
decimal GetPrice(
	IProduct product,
	IProductSize productSize,
	IPriceCategory priceCategory,
	DateTime pricingTime
)

Parameters

product
Type: Resto.Front.Api.Data.AssortmentIProduct
Product to get price for.
productSize
Type: Resto.Front.Api.Data.AssortmentIProductSize
Product size to get price for or null if the product doesn't have a scale.
priceCategory
Type: Resto.Front.Api.Data.OrdersIPriceCategory
Price category to get price according to.
pricingTime
Type: SystemDateTime
Time for which calculated price.

Return Value

Type: Decimal
See Also