Click or drag to resize

OperationArgumentExtensionsGetCommonGroupModifiers Method

Group modifiers that are available for the whole compound item. See GetTemplatedModifiersParams(IProduct) of the templated products to get default amount settings for them.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
public static IReadOnlyList<IGroupModifier> GetCommonGroupModifiers(
	this ICompoundItemTemplate compoundItemTemplate,
	IPriceCategory priceCategory
)

Parameters

compoundItemTemplate
Type: Resto.Front.Api.Data.AssortmentICompoundItemTemplate
Compound item template to get common modifiers for.
priceCategory
Type: Resto.Front.Api.Data.OrdersIPriceCategory
Price category to check menu inclusion according to.

Return Value

Type: IReadOnlyListIGroupModifier

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICompoundItemTemplate. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also