iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Assortment
IProductGroup Interface
IProductGroup Properties
IProductGroup Methods

# IProductGroup Interface

Namespace: Resto.Front.Api.Data.Assortment
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public interface IProductGroup : ISerializable,
    	IEntity

The IProductGroup type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| BackgroundColor | Background color of a menu button for the product group. If the product group has a menu image (HasMenuImage, TryGetProductGroupMenuImage(IProductGroup)) and UI supports images in menu, image should be used as a background instead of solid BackgroundColor
| FontColor | Font color of a menu button for the product group's name.
| HasMenuImage | Whether the product group has an image to be used as a background in menu. If true, call TryGetProductGroupMenuImage(IProductGroup) to get an image. If the product group doesn't have an image or UI doesn't support images in menu, use BackgroundColor as a menu button background.
| Id | (Inherited from IEntity.)
| MenuIndex | Gets an index of product group in hierarchical menu, can be used to sort product groups inside the same parent product group.
| Name |
| Number | Nomenclature article of product group.

Top
Methods

| Name | Description
--- | --- | ---
| GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.)

Top
Extension Methods

| Name | Description
--- | --- | ---
| GetChildGroups | Returns childGroups of the specified productGroup. (Defined by ProductGroupExtensions.)
| GetChildProducts | Returns childProducts of the specified productGroup. (Defined by ProductGroupExtensions.)
| TryGetChildGroups | Returns childGroups of the specified productGroup or null if productGroup doesn't exist. (Defined by ProductGroupExtensions.)
| TryGetChildProducts | Returns childProducts of the specified productGroup or null if productGroup doesn't exist. (Defined by ProductGroupExtensions.)
| TryGetParent | Returns parent of the specified productGroup or null if productGroup doesn't exist. (Defined by ProductGroupExtensions.)
| TryGetProductGroupMenuBitmap | Returns a bitmap image to be shown as a background on a menu button for the specified product group. If the product group doesn't have an image, null will be returned. (Defined by ProductExtensions.)
| TryGetProductGroupMenuImage | Returns a byte sequence presenting an image to be shown as a background on a menu button for the specified product group. If the product group doesn't have an image, null will be returned. (Defined by OperationArgumentExtensions.)

Top
See Also

#### Reference

Resto.Front.Api.Data.Assortment Namespace