iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api.Data.Assortment
IProduct Interface
IProduct Properties
IProduct Methods

# IProduct Interface

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

    public interface IProduct : ISerializable,
    	IEntity

The IProduct type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| BackgroundColor | Background color of a menu button for the product. If the product has a menu image (HasMenuImage, GetProductMenuImage(IProduct)) and UI supports images in menu, image should be used as a background instead of solid BackgroundColor
| CanSetOpenPrice | Gets a value that indicates whether the product possible to set an open price.
| Category |
| Description |
| DescriptionForeign |
| ExpirationTime |
| FastCode | Quick type product code
| FontColor | Font color of a menu button for the product's name.
| FoodValueCaloricity |
| FoodValueCarbohydrate |
| FoodValueFat |
| FoodValueProtein |
| ForeignName |
| FullName |
| HasMenuImage | Whether the product has an image to be used as a background in menu. If true, call GetProductMenuImage(IProduct) to get an image. If the product doesn't have an image or UI doesn't support images in menu, use BackgroundColor as a menu button background.
| Id | (Inherited from IEntity.)
| IsActive | Gets a value that indicates whether this product is active in assortment base. Product can be activated or deactivated via iikoOffice.
| KitchenName |
| MeasuringUnitName | Measurement unit of product to be displayed
| MenuIndex | Gets an index of product in hierarchical menu, can be used to sort products inside the same product group.
| Name |
| Number | Nomenclature article of product.
| Price |
| RateSchedule | For products of type Service is a schedule of a service rates. null for other product types.
| Scale | Scale of the current product sizes or null for product without sizes.
| TaxPercent | Tax percent or null for not taxed products.
| Template | Template of the current product or null for product without template.
| Type |

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
--- | --- | ---
| GetDisabledSizes | Returns disabledSizes of the specified product. (Defined by ProductExtensions.)
| GetGroupModifiers | Returns groupModifiers of the specified product. (Defined by ProductExtensions.)
| GetIncludedInMenuSections | Returns includedInMenuSections of the specified product. (Defined by ProductExtensions.)
| GetParent | Returns parent of the specified product. (Defined by ProductExtensions.)
| GetProductMenuBitmap | Returns a bitmap image to be shown as a background on a menu button for the specified product. If the product doesn't have an image, null will be returned. (Defined by OperationServiceExtensions.)
| GetProductMenuImage | Returns a byte sequence presenting an image to be shown as a background on a menu button for the specified product. If the product doesn't have an image, null will be returned. (Defined by OperationServiceExtensions.)
| GetSimpleModifiers | Returns simpleModifiers of the specified product. (Defined by ProductExtensions.)
| GetTemplatedModifiersParams | Returns templatedModifiersParams of the specified product. (Defined by ProductExtensions.)
| TryGetDisabledSizes | Returns disabledSizes of the specified product or null if product doesn't exist. (Defined by ProductExtensions.)
| TryGetGroupModifiers | Returns groupModifiers of the specified product or null if product doesn't exist. (Defined by ProductExtensions.)
| TryGetIncludedInMenuSections | Returns includedInMenuSections of the specified product or null if product doesn't exist. (Defined by ProductExtensions.)
| TryGetParent | Returns parent of the specified product or null if product doesn't exist. (Defined by ProductExtensions.)
| TryGetSimpleModifiers | Returns simpleModifiers of the specified product or null if product doesn't exist. (Defined by ProductExtensions.)
| TryGetTemplatedModifiersParams | Returns templatedModifiersParams of the specified product or null if product doesn't exist. (Defined by ProductExtensions.)

Top
See Also

#### Reference

Resto.Front.Api.Data.Assortment Namespace