Class: module:models/ProductListItemReference

module:models/ProductListItemReference(id)

new module:models/ProductListItemReference(id)

Constructs a new ProductListItemReference.

Parameters:
Name Type Description
id String

The id of the product list item.

Source:

Members

(readonly) TypeEnum :String

Allowed values for the type property.

Type:
  • String
Source:

(inner, constant) gift_certificate

value: "gift_certificate"

Source:

(inner) id :String

The id of the product list item.

Type:
  • String
Source:

(inner) priority :Number

Type:
  • Number
Source:

(inner, constant) product

value: "product"

Source:
Type:
Source:

(inner) product_list :module:models/ProductListLink

The link of the product list, the item is assigned

Type:
Source:

(inner) public :Boolean

Type:
  • Boolean
Source:

(inner) purchased_quantity :Number

Type:
  • Number
Source:

(inner) quantity :Number

Type:
  • Number
Source:

(inner) type :module:models/ProductListItemReference.TypeEnum

Type:
  • module:models/ProductListItemReference.TypeEnum
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated ProductListItemReference instance.

Type
module:models/ProductListItemReference