Class: Option

inventory.Option()

new Option()

Source:

Methods

(static) Option#getAttribute() → {base.Reference}

Get the field value
Source:
Returns:
Type
base.Reference

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

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

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

Get the field value Items associated with this option
Source:
Returns:
An array of
Type
Array.<base.Reference>

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

Get the field value Name of the option
Source:
Returns:
Type
String

(static) Option#setAttribute(attribute)

Set the field value
Parameters:
Name Type Description
attribute base.Reference
Source:

(static) Option#setId(id)

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

(static) Option#setItems(items)

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

(static) Option#setName(name)

Set the field value Name of the option
Parameters:
Name Type Description
name String
Source: