iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Assortment
IProduct Interface
IProduct Properties
BackgroundColor Property
BarcodeContainers Property
CanSetOpenPrice Property
Category Property
DefaultCourse Property
Description Property
DescriptionForeign Property
ExpirationTime Property
FastCode Property
FontColor Property
FoodValueCaloricity Property
FoodValueCarbohydrate Property
FoodValueFat Property
FoodValueProtein Property
ForeignName Property
FullName Property
HasMenuImage Property
ImmediateCookingStart Property
IsActive Property
KitchenName Property
MeasuringUnitName Property
MenuIndex Property
Name Property
Number Property
Price Property
RateSchedule Property
Scale Property
TaxPercent Property
Template Property
Type Property

# IProduct Properties

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, TryGetProductMenuImage(IProduct)) and UI supports images in menu, image should be used as a background instead of solid BackgroundColor
| BarcodeContainers | Returns all barcode containers assigned to product.
| CanSetOpenPrice | Gets a value that indicates whether the product possible to set an open price.
| Category |
| DefaultCourse | Default course of the product.
| 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 TryGetProductMenuImage(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.)
| ImmediateCookingStart | Indicates whether the product cooking or time pay service execution should be started immediately after adding into the order. It is expected that plugin will check this flag and apply appropriate action.
| 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
See Also

#### Reference

IProduct Interface
Resto.Front.Api.Data.Assortment Namespace