Class: module:models/ProductSimpleLink

module:models/ProductSimpleLink()

Constructs a new ProductSimpleLink. Document representing a link to a product.

Source:

Members

The target of the link.

Type:
  • String
Source:

(inner) title :String

The link title.

Type:
  • String
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated ProductSimpleLink instance.

Type
module:models/ProductSimpleLink