Class: Category

inventory.Category

new Category()

Source:

Methods

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

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

(static) Category#getItems() → {Array.<base.Reference>}

Get the field value Ordered list of items associated with this category.
Source:
Returns:
An array of
Type
Array.<base.Reference>

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

Get the field value The name of the category which will appear in Clover Register App.
Source:
Returns:
Type
String

(static) Category#getSortOrder() → {Number}

Get the field value Integer used to determine how this category is sorted against other categories.
Source:
Returns:
must be an integer
Type
Number

(static) Category#setId(id)

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

(static) Category#setItems(items)

Set the field value Ordered list of items associated with this category.
Parameters:
Name Type Description
items Array.<base.Reference> An array of
Source:

(static) Category#setName(name)

Set the field value The name of the category which will appear in Clover Register App.
Parameters:
Name Type Description
name String
Source:

(static) Category#setSortOrder(sortOrder)

Set the field value Integer used to determine how this category is sorted against other categories.
Parameters:
Name Type Description
sortOrder Number must be an integer
Source: