IProductGroup Interface |
Namespace: Resto.Front.Api.Data.Assortment
public interface IProductGroup : ISerializable, IEntity
The IProductGroup type exposes the following members.
Name | Description | |
---|---|---|
BackgroundColor | Background color of a menu button for the product group. If the product group has a menu image (HasMenuImage, GetProductGroupMenuImage(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 GetProductGroupMenuImage(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 |
Name | Description | |
---|---|---|
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.) |
Name | Description | |
---|---|---|
GetChildGroups |
Returns childGroups of the specified productGroup.
(Defined by ProductGroupExtensions.) | |
GetChildProducts |
Returns childProducts of the specified productGroup.
(Defined by ProductGroupExtensions.) | |
GetParent |
Returns parent of the specified productGroup.
(Defined by ProductGroupExtensions.) | |
GetProductGroupMenuBitmap |
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 OperationServiceExtensions.) | |
GetProductGroupMenuImage |
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 OperationServiceExtensions.) | |
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.) |