new MenuModifier()
- Source:
Methods
(static) MenuModifier#getCreatedTime() → {Number}
Get the field value
Timestamp when the menu modifier was created
- Source:
Returns:
must be a long integer
- Type
- Number
(static) MenuModifier#getDeletedTime() → {Number}
Get the field value
Timestamp when menu modifier was last deleted
- Source:
Returns:
must be a long integer
- Type
- Number
(static) MenuModifier#getDescription() → {String}
Get the field value
Modifier description
- Source:
Returns:
- Type
- String
(static) MenuModifier#getEnabled() → {Boolean}
Get the field value
Modifier enabled for menu
- Source:
Returns:
- Type
- Boolean
(static) MenuModifier#getId() → {String}
Get the field value
Modifier id
- Source:
Returns:
- Type
- String
(static) MenuModifier#getImageFilename() → {String}
Get the field value
Modifier image file path
- Source:
Returns:
- Type
- String
(static) MenuModifier#getMerchantRef() → {base.Reference}
Get the field value
Reference to the merchant that created the item
- Source:
Returns:
- Type
- base.Reference
(static) MenuModifier#getModifiedTime() → {Number}
Get the field value
Timestamp when the menu modifier was last modified
- Source:
Returns:
must be a long integer
- Type
- Number
(static) MenuModifier#getModifier() → {base.Reference}
Get the field value
Reference to the modifier
- Source:
Returns:
- Type
- base.Reference
(static) MenuModifier#getName() → {String}
Get the field value
Customer facing modifier name
- Source:
Returns:
- Type
- String
(static) MenuModifier#getPrice() → {Number}
Get the field value
Modifier price
- Source:
Returns:
must be a long integer
- Type
- Number
(static) MenuModifier#setCreatedTime(createdTime)
Set the field value
Timestamp when the menu modifier was created
Parameters:
Name | Type | Description |
---|---|---|
createdTime |
Number | must be a long integer |
- Source:
(static) MenuModifier#setDeletedTime(deletedTime)
Set the field value
Timestamp when menu modifier was last deleted
Parameters:
Name | Type | Description |
---|---|---|
deletedTime |
Number | must be a long integer |
- Source:
(static) MenuModifier#setDescription(description)
Set the field value
Modifier description
Parameters:
Name | Type | Description |
---|---|---|
description |
String |
- Source:
(static) MenuModifier#setEnabled(enabled)
Set the field value
Modifier enabled for menu
Parameters:
Name | Type | Description |
---|---|---|
enabled |
Boolean |
- Source:
(static) MenuModifier#setId(id)
Set the field value
Modifier id
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) MenuModifier#setImageFilename(imageFilename)
Set the field value
Modifier image file path
Parameters:
Name | Type | Description |
---|---|---|
imageFilename |
String |
- Source:
(static) MenuModifier#setMerchantRef(merchantRef)
Set the field value
Reference to the merchant that created the item
Parameters:
Name | Type | Description |
---|---|---|
merchantRef |
base.Reference |
- Source:
(static) MenuModifier#setModifiedTime(modifiedTime)
Set the field value
Timestamp when the menu modifier was last modified
Parameters:
Name | Type | Description |
---|---|---|
modifiedTime |
Number | must be a long integer |
- Source:
(static) MenuModifier#setModifier(modifier)
Set the field value
Reference to the modifier
Parameters:
Name | Type | Description |
---|---|---|
modifier |
base.Reference |
- Source:
(static) MenuModifier#setName(name)
Set the field value
Customer facing modifier name
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) MenuModifier#setPrice(price)
Set the field value
Modifier price
Parameters:
Name | Type | Description |
---|---|---|
price |
Number | must be a long integer |
- Source: