Class: MenuSection

inventory.MenuSection()

Source:

Methods

(static) MenuSection#getCategory() → {base.Reference}

Get the field value Reference to a category
Source:
Returns:
Type
base.Reference

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

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

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

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

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

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

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

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

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

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

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

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

(static) MenuSection#getItemList() → {Array.<inventory.MenuItem>}

Get the field value List of menu item records
Source:
Returns:
An array of
Type
Array.<inventory.MenuItem>

(static) MenuSection#getItems() → {String}

Get the field value Items included in the category
Source:
Returns:
Type
String

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

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

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

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

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

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

(static) MenuSection#setCategory(category)

Set the field value Reference to a category
Parameters:
Name Type Description
category base.Reference
Source:

(static) MenuSection#setCreatedTime(createdTime)

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

(static) MenuSection#setDeletedTime(deletedTime)

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

(static) MenuSection#setDescription(description)

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

(static) MenuSection#setEnabled(enabled)

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

(static) MenuSection#setId(id)

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

(static) MenuSection#setImageFilename(imageFilename)

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

(static) MenuSection#setItemList(itemList)

Set the field value List of menu item records
Parameters:
Name Type Description
itemList Array.<inventory.MenuItem> An array of
Source:

(static) MenuSection#setItems(items)

Set the field value Items included in the category
Parameters:
Name Type Description
items String
Source:

(static) MenuSection#setMerchantRef(merchantRef)

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

(static) MenuSection#setModifiedTime(modifiedTime)

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

(static) MenuSection#setName(name)

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