Click or drag to resize

ISimpleModifier Interface


Namespace: Resto.Front.Api.Data.Assortment
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
public interface ISimpleModifier : ISerializable, 
	ISimpleModifierBase

The ISimpleModifier type exposes the following members.

Properties
 NameDescription
Public propertyAmountIndependentOfParentAmountWhether amount of the modifier is absolute or relative to parent amount. When modifier amount depends on parent, it means multiplication — specified amount of modifier should be cooked per each parent unit, otherwise it means addition — specified amount of modifier should be cooked for whole parent.
(Inherited from ISimpleModifierBase)
Public propertyDefaultAmount
(Inherited from ISimpleModifierBase)
Public propertyFreeOfChargeAmountMaximum amount that will be free, additional amount will be paid.
(Inherited from ISimpleModifierBase)
Public propertyMaximumAmount
(Inherited from ISimpleModifierBase)
Public propertyMenuIndexGets an index of simple modifier in hierarchical menu, can be used to sort modifiers of product.
(Inherited from ISimpleModifierBase)
Public propertyMinimumAmount
(Inherited from ISimpleModifierBase)
Public propertyProduct
(Inherited from ISimpleModifierBase)
Top
Methods
 NameDescription
Public methodGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable)
Top
See Also