Class: module:models/CustomerProductListItemResult

module:models/CustomerProductListItemResult()

new module:models/CustomerProductListItemResult()

Constructs a new CustomerProductListItemResult. Document representing a customer product list items result.

Source:

Members

(inner) count :Number

Type:
  • Number
Source:

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

The customer product list items.

Type:
Source:

(inner) next :String

The URL of the next result page.

Type:
  • String
Source:

(inner) previous :String

The URL of the previous result page.

Type:
  • String
Source:

(inner) start :Number

The zero-based index of the first search hit to include in the result.

Type:
  • Number
Source:

(inner) total :Number

Type:
  • Number
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated CustomerProductListItemResult instance.

Type
module:models/CustomerProductListItemResult