Click or drag to resize

OperationArgumentExtensionsGetSplittableSimpleModifiers Method

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

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

Parameters

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

Return Value

Type: IReadOnlyListISimpleModifier

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