Class: ModifierGroup

inventory.ModifierGroup()

new ModifierGroup()

Source:

Methods

(static) ModifierGroup#getAlternateName() → {Null|String}

Get the field value
Source:
Returns:
Type
Null | String

(static) ModifierGroup#getId() → {String}

Get the field value Unique identifier
Source:
Returns:
Type
String

(static) ModifierGroup#getItems() → {Null|Array.<base.Reference>}

Get the field value
Source:
Returns:
An array of
Type
Null | Array.<base.Reference>

(static) ModifierGroup#getMaxAllowed() → {Null|Number}

Get the field value The maximum amount of modifiers from this group that can be applied to associated lineItems when using Register
Source:
Returns:
must be an integer
Type
Null | Number

(static) ModifierGroup#getMenuModifierGroup() → {Null|inventory.MenuModifierGroup}

Get the field value Menu Modifier Group attribute that can be expanded to menu group specific attributes
Source:
Returns:
Type
Null | inventory.MenuModifierGroup

(static) ModifierGroup#getMinRequired() → {Null|Number}

Get the field value The minimum amount of modifiers from this group that must be applied to associated lineItems when using Register
Source:
Returns:
must be an integer
Type
Null | Number

(static) ModifierGroup#getModifierIds() → {Null|String}

Get the field value An ordered, comma-separated list of modifier ids in this group. (READ ONLY)
Source:
Returns:
Type
Null | String

(static) ModifierGroup#getModifiers() → {Null|Array.<inventory.Modifier>}

Get the field value
Source:
Returns:
An array of
Type
Null | Array.<inventory.Modifier>

(static) ModifierGroup#getName() → {String}

Get the field value Name of the modifier group
Source:
Returns:
Type
String

(static) ModifierGroup#getShowByDefault() → {Null|Boolean}

Get the field value Whether employees will be automatically prompted to add modifiers from this category when using Register
Source:
Returns:
Type
Null | Boolean

(static) ModifierGroup#getSortOrder() → {Null|Number}

Get the field value The ordinal value used to determine where in an ordered list this modifier group should appear relative to others.
Source:
Returns:
must be an integer
Type
Null | Number

(static) ModifierGroup#setAlternateName(alternateName)

Set the field value
Parameters:
Name Type Description
alternateName Null | String
Source:

(static) ModifierGroup#setId(id)

Set the field value Unique identifier
Parameters:
Name Type Description
id String
Source:

(static) ModifierGroup#setItems(items)

Set the field value
Parameters:
Name Type Description
items Null | Array.<base.Reference> An array of
Source:

(static) ModifierGroup#setMaxAllowed(maxAllowed)

Set the field value The maximum amount of modifiers from this group that can be applied to associated lineItems when using Register
Parameters:
Name Type Description
maxAllowed Null | Number must be an integer
Source:

(static) ModifierGroup#setMenuModifierGroup(menuModifierGroup)

Set the field value Menu Modifier Group attribute that can be expanded to menu group specific attributes
Parameters:
Name Type Description
menuModifierGroup Null | inventory.MenuModifierGroup
Source:

(static) ModifierGroup#setMinRequired(minRequired)

Set the field value The minimum amount of modifiers from this group that must be applied to associated lineItems when using Register
Parameters:
Name Type Description
minRequired Null | Number must be an integer
Source:

(static) ModifierGroup#setModifierIds(modifierIds)

Set the field value An ordered, comma-separated list of modifier ids in this group. (READ ONLY)
Parameters:
Name Type Description
modifierIds Null | String
Source:

(static) ModifierGroup#setModifiers(modifiers)

Set the field value
Parameters:
Name Type Description
modifiers Null | Array.<inventory.Modifier> An array of
Source:

(static) ModifierGroup#setName(name)

Set the field value Name of the modifier group
Parameters:
Name Type Description
name String
Source:

(static) ModifierGroup#setShowByDefault(showByDefault)

Set the field value Whether employees will be automatically prompted to add modifiers from this category when using Register
Parameters:
Name Type Description
showByDefault Null | Boolean
Source:

(static) ModifierGroup#setSortOrder(sortOrder)

Set the field value The ordinal value used to determine where in an ordered list this modifier group should appear relative to others.
Parameters:
Name Type Description
sortOrder Null | Number must be an integer
Source: