Click or drag to resize

IOperationServiceGetPrice Method

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

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

Parameters

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

Return Value

Type: Decimal
See Also