new module:models/ProductListItemReference(id)
Constructs a new ProductListItemReference
.
Parameters:
Name | Type | Description |
---|---|---|
id |
String | The id of the product list item. |
Members
(readonly) TypeEnum :String
Allowed values for the type
property.
Type:
- String
(inner, constant) gift_certificate
value: "gift_certificate"
(inner) id :String
The id of the product list item.
Type:
- String
(inner) priority :Number
Type:
- Number
(inner, constant) product
value: "product"
(inner) product_details_link :module:models/ProductDetailsLink
Type:
(inner) product_list :module:models/ProductListLink
The link of the product list, the item is assigned
Type:
(inner) public :Boolean
Type:
- Boolean
(inner) purchased_quantity :Number
Type:
- Number
(inner) quantity :Number
Type:
- Number
(inner) type :module:models/ProductListItemReference.TypeEnum
Type:
- module:models/ProductListItemReference.TypeEnum
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. |
Returns:
The populated ProductListItemReference
instance.