Class: MenuItem

inventory.MenuItem()

Source:

Methods

(static) MenuItem#getCreatedTime() → {Number}

Get the field value Timestamp when the menu item was created
Source:
Returns:
must be a long integer
Type
Number

(static) MenuItem#getDeletedTime() → {Number}

Get the field value Timestamp when menu item was last deleted
Source:
Returns:
must be a long integer
Type
Number

(static) MenuItem#getDescription() → {String}

Get the field value Item description
Source:
Returns:
Type
String

(static) MenuItem#getEnabled() → {Boolean}

Get the field value Item enabled for menu
Source:
Returns:
Type
Boolean

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

Get the field value Item id
Source:
Returns:
Type
String

(static) MenuItem#getImageFilename() → {String}

Get the field value Item image file path
Source:
Returns:
Type
String

(static) MenuItem#getItem() → {base.Reference}

Get the field value Reference to an item
Source:
Returns:
Type
base.Reference

(static) MenuItem#getMerchantRef() → {base.Reference}

Get the field value Reference to the merchant that created the item
Source:
Returns:
Type
base.Reference

(static) MenuItem#getModifiedTime() → {Number}

Get the field value Timestamp when the menu item was last modified
Source:
Returns:
must be a long integer
Type
Number

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

Get the field value Customer facing item name
Source:
Returns:
Type
String

(static) MenuItem#getPrice() → {Number}

Get the field value Item price
Source:
Returns:
must be a long integer
Type
Number

(static) MenuItem#setCreatedTime(createdTime)

Set the field value Timestamp when the menu item was created
Parameters:
Name Type Description
createdTime Number must be a long integer
Source:

(static) MenuItem#setDeletedTime(deletedTime)

Set the field value Timestamp when menu item was last deleted
Parameters:
Name Type Description
deletedTime Number must be a long integer
Source:

(static) MenuItem#setDescription(description)

Set the field value Item description
Parameters:
Name Type Description
description String
Source:

(static) MenuItem#setEnabled(enabled)

Set the field value Item enabled for menu
Parameters:
Name Type Description
enabled Boolean
Source:

(static) MenuItem#setId(id)

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

(static) MenuItem#setImageFilename(imageFilename)

Set the field value Item image file path
Parameters:
Name Type Description
imageFilename String
Source:

(static) MenuItem#setItem(item)

Set the field value Reference to an item
Parameters:
Name Type Description
item base.Reference
Source:

(static) MenuItem#setMerchantRef(merchantRef)

Set the field value Reference to the merchant that created the item
Parameters:
Name Type Description
merchantRef base.Reference
Source:

(static) MenuItem#setModifiedTime(modifiedTime)

Set the field value Timestamp when the menu item was last modified
Parameters:
Name Type Description
modifiedTime Number must be a long integer
Source:

(static) MenuItem#setName(name)

Set the field value Customer facing item name
Parameters:
Name Type Description
name String
Source:

(static) MenuItem#setPrice(price)

Set the field value Item price
Parameters:
Name Type Description
price Number must be a long integer
Source: