Class: module:models/RecommendationType

module:models/RecommendationType()

new module:models/RecommendationType()

Constructs a new RecommendationType. Document representing a recommendation type.

Source:

Members

(inner) display_value :String

The localized display value of the recommendation type.

Type:
  • String
Source:

(inner) value :Number

The value of the recommendation type.

Type:
  • Number
Source:

Methods

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

Constructs a RecommendationType 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/RecommendationType

Optional instance to populate.

Source:
Returns:

The populated RecommendationType instance.

Type
module:models/RecommendationType