Class: Category

inventory.Category()

new Category()

Source:

Methods

(static) Category#getDeleted() → {Boolean}

Get the field value Whether the category has been deleted.
Source:
Returns:
Type
Boolean

(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#getModifiedTime() → {Number}

Get the field value The time this category was last modified
Source:
Returns:
must be a long integer
Type
Number

(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#setDeleted(deleted)

Set the field value Whether the category has been deleted.
Parameters:
Name Type Description
deleted Boolean
Source:

(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#setModifiedTime(modifiedTime)

Set the field value The time this category was last modified
Parameters:
Name Type Description
modifiedTime Number must be a long integer
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: