Class: module:models/ProductRecommendationsResult

module:models/ProductRecommendationsResult()

new module:models/ProductRecommendationsResult()

Constructs a new ProductRecommendationsResult. The product recommendations

Source:

Members

(inner) count :Number

Count of current elements

Type:
  • Number
Source:

(inner) data :Array.<module:models/Product>

The objects itself

Type:
Source:

(inner) total :Number

The total number of documents.

Type:
  • Number
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated ProductRecommendationsResult instance.

Type
module:models/ProductRecommendationsResult