Click or drag to resize

IOperationServiceTryGetPriceForCategory Method

Returns price for the product according to the given client price category, or null if product doesn't exists.

Namespace:  Resto.Front.Api.V4
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
Nullable<decimal> TryGetPriceForCategory(
	Guid productId,
	Nullable<Guid> clientPriceCategoryId
)

Parameters

productId
Type: SystemGuid
Product ID to get price for.
clientPriceCategoryId
Type: SystemNullableGuid
Client price category ID to get price according to.

Return Value

Type: NullableDecimal
See Also