new Modifier()
- Source:
Methods
(static) Modifier#getAlternateName() → {Null|String}
Get the field value
Alternate name of the modifier
- Source:
Returns:
- Type
- Null | String
(static) Modifier#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) Modifier#getMenuModifier() → {Null|inventory.MenuModifier}
Get the field value
Menu Modifier attribute that can be expanded to menu specific attributes
- Source:
Returns:
- Type
- Null | inventory.MenuModifier
(static) Modifier#getModifierGroup() → {Null|base.Reference}
Get the field value
- Source:
Returns:
- Type
- Null | base.Reference
(static) Modifier#getName() → {String}
Get the field value
Name of the modifier
- Source:
Returns:
- Type
- String
(static) Modifier#getPrice() → {Null|Number}
Get the field value
Additional cost when used
- Source:
Returns:
must be a long integer
- Type
- Null | Number
(static) Modifier#setAlternateName(alternateName)
Set the field value
Alternate name of the modifier
Parameters:
Name | Type | Description |
---|---|---|
alternateName |
Null | String |
- Source:
(static) Modifier#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) Modifier#setMenuModifier(menuModifier)
Set the field value
Menu Modifier attribute that can be expanded to menu specific attributes
Parameters:
Name | Type | Description |
---|---|---|
menuModifier |
Null | inventory.MenuModifier |
- Source:
(static) Modifier#setModifierGroup(modifierGroup)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
modifierGroup |
Null | base.Reference |
- Source:
(static) Modifier#setName(name)
Set the field value
Name of the modifier
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) Modifier#setPrice(price)
Set the field value
Additional cost when used
Parameters:
Name | Type | Description |
---|---|---|
price |
Null | Number | must be a long integer |
- Source: