Class: module:models/VariantCategory

module:models/VariantCategory()

new module:models/VariantCategory()

Constructs a new VariantCategory.

Source:

Members

(inner) hasImage :Boolean

Type:
  • Boolean
Source:

(inner) name :String

Type:
  • String
Source:

(inner) priority :Number

Type:
  • Number
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/VariantCategory}

Constructs a VariantCategory from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/VariantCategory

Optional instance to populate.

Source:
Returns:

The populated VariantCategory instance.

Type
module:models/VariantCategory