ProductModifierGroup Class |
Namespace: LSRetail.Omni.Domain.DataModel.Base.Menu
public class ProductModifierGroup : ModifierGroup
The ProductModifierGroup type exposes the following members.
Name | Description | |
---|---|---|
![]() | ProductModifierGroup | Initializes a new instance of the ProductModifierGroup class |
![]() | ProductModifierGroup(String) | Initializes a new instance of the ProductModifierGroup class |
Name | Description | |
---|---|---|
![]() | DefaultItemId | (Inherited from ModifierGroup.) |
![]() | Description | (Inherited from ModifierGroup.) |
![]() | HasSelectionRestriction | (Inherited from ModifierGroup.) |
![]() | Id | (Inherited from Entity.) |
![]() | MaximumSelection | (Inherited from ModifierGroup.) |
![]() | MinimumSelection | (Inherited from ModifierGroup.) |
![]() | ProductModifiers | |
![]() | RequiredSelection | (Inherited from ModifierGroup.) |
![]() | Selected | (Overrides ModifierGroupSelected.) |
![]() | SelectedId | (Inherited from ModifierGroup.) |
![]() | TextModifiers |
Name | Description | |
---|---|---|
![]() | Clone | |
![]() | Dispose | (Inherited from ModifierGroup.) |
![]() | Equals | (Inherited from ModifierGroup.) |
![]() | NewQty | (Inherited from ModifierGroup.) |
![]() | Reset | (Overrides ModifierGroupReset.) |
![]() | SatisfyMinSelectionRestriction |
Make sure that we satisfy the minimum selection restriction.
Do this by adding quantity to productmodifiers (in order, one by one, no preference) until the restriction has been met.
If the restriction has not been met after going through all the productmodifiers, increasing their quantity up to their max quantity,
let's start adding quantity to textmodifiers (one by one) until it has been met.
(Overrides ModifierGroupSatisfyMinSelectionRestriction.) |