Click or drag to resize

IProductGroup Interface

Namespace:  Resto.Front.Api.Data.Assortment
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
public interface IProductGroup : ISerializable, 
	IEntity

The IProductGroup type exposes the following members.

Properties
  NameDescription
Public propertyBackgroundColor
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
Public propertyFontColor
Font color of a menu button for the product group's name.
Public propertyHasMenuImage
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.
Public propertyId (Inherited from IEntity.)
Public propertyMenuIndex
Gets an index of product group in hierarchical menu, can be used to sort product groups inside the same parent product group.
Public propertyName
Top
Methods
  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetChildGroups
Returns childGroups of the specified productGroup.
(Defined by ProductGroupExtensions.)
Public Extension MethodGetChildProducts
Returns childProducts of the specified productGroup.
(Defined by ProductGroupExtensions.)
Public Extension MethodGetParent
Returns parent of the specified productGroup.
(Defined by ProductGroupExtensions.)
Public Extension MethodGetProductGroupMenuBitmap
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.)
Public Extension MethodGetProductGroupMenuImage
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.)
Public Extension MethodTryGetChildGroups
Returns childGroups of the specified productGroup or null if productGroup doesn't exist.
(Defined by ProductGroupExtensions.)
Public Extension MethodTryGetChildProducts
Returns childProducts of the specified productGroup or null if productGroup doesn't exist.
(Defined by ProductGroupExtensions.)
Public Extension MethodTryGetParent
Returns parent of the specified productGroup or null if productGroup doesn't exist.
(Defined by ProductGroupExtensions.)
Top
See Also