Click or drag to resize

IProductGroup Interface

Namespace:  Resto.Front.Api.Data.Assortment
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.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, TryGetProductGroupMenuImage(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 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.
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
Public propertyNumber
Nomenclature article of product group.
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 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.)
Public Extension MethodTryGetProductGroupMenuBitmap
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.)
Public Extension MethodTryGetProductGroupMenuImage
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