new module:models/ProductDetailsLink(productId)
Constructs a new ProductDetailsLink
.
Document representing a link to the resource for product details.
Parameters:
Name | Type | Description |
---|---|---|
productId |
String | The id of the product. |
- Source:
Members
(inner) link :String
The target of the link.
Type:
- String
- Source:
(inner) product_description :String
The description of the product.
Type:
- String
- Source:
(inner) product_id :String
The id of the product.
Type:
- String
- Source:
(inner) product_name :String
The name of the product.
Type:
- String
- Source:
(inner) title :String
The link title.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/ProductDetailsLink}
Constructs a ProductDetailsLink
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/ProductDetailsLink | Optional instance to populate. |
- Source:
Returns:
The populated ProductDetailsLink
instance.