Click or drag to resize

IProduct Interface

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

The IProduct type exposes the following members.

Properties
  NameDescription
Public propertyBackgroundColor
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
Public propertyCanSetOpenPrice
Gets a value that indicates whether the product possible to set an open price.
Public propertyCategory
Public propertyDescription
Public propertyDescriptionForeign
Public propertyExpirationTime
Public propertyFastCode
Quick type product code
Public propertyFontColor
Font color of a menu button for the product's name.
Public propertyFoodValueCaloricity
Public propertyFoodValueCarbohydrate
Public propertyFoodValueFat
Public propertyFoodValueProtein
Public propertyForeignName
Public propertyFullName
Public propertyHasMenuImage
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.
Public propertyId (Inherited from IEntity.)
Public propertyIsActive
Gets a value that indicates whether this product is active in assortment base. Product can be activated or deactivated via iikoOffice.
Public propertyKitchenName
Public propertyMeasuringUnitName
Measurement unit of product to be displayed
Public propertyMenuIndex
Gets an index of product in hierarchical menu, can be used to sort products inside the same product group.
Public propertyName
Public propertyNumber
Nomenclature article of product.
Public propertyPrice
Public propertyRateSchedule
For products of type Service is a schedule of a service rates. null for other product types.
Public propertyScale
Scale of the current product sizes or null for product without sizes.
Public propertyTaxPercent
Tax percent or null for not taxed products.
Public propertyTemplate
Template of the current product or null for product without template.
Public propertyType
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 MethodGetDisabledSizes
Returns disabledSizes of the specified product.
(Defined by ProductExtensions.)
Public Extension MethodGetGroupModifiers
Returns groupModifiers of the specified product.
(Defined by ProductExtensions.)
Public Extension MethodGetIncludedInMenuSections
Returns includedInMenuSections of the specified product.
(Defined by ProductExtensions.)
Public Extension MethodGetParent
Returns parent of the specified product.
(Defined by ProductExtensions.)
Public Extension MethodGetProductMenuBitmap
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.)
Public Extension MethodGetProductMenuImage
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.)
Public Extension MethodGetSimpleModifiers
Returns simpleModifiers of the specified product.
(Defined by ProductExtensions.)
Public Extension MethodGetTemplatedModifiersParams
Returns templatedModifiersParams of the specified product.
(Defined by ProductExtensions.)
Public Extension MethodTryGetDisabledSizes
Returns disabledSizes of the specified product or null if product doesn't exist.
(Defined by ProductExtensions.)
Public Extension MethodTryGetGroupModifiers
Returns groupModifiers of the specified product or null if product doesn't exist.
(Defined by ProductExtensions.)
Public Extension MethodTryGetIncludedInMenuSections
Returns includedInMenuSections of the specified product or null if product doesn't exist.
(Defined by ProductExtensions.)
Public Extension MethodTryGetParent
Returns parent of the specified product or null if product doesn't exist.
(Defined by ProductExtensions.)
Public Extension MethodTryGetSimpleModifiers
Returns simpleModifiers of the specified product or null if product doesn't exist.
(Defined by ProductExtensions.)
Public Extension MethodTryGetTemplatedModifiersParams
Returns templatedModifiersParams of the specified product or null if product doesn't exist.
(Defined by ProductExtensions.)
Top
See Also