Class: module:models/PromotionLink

module:models/PromotionLink()

Constructs a new PromotionLink. Document representing a promotion link.

Source:

Members

(inner) callout_msg :String

The localized call-out message of the promotion.

Type:
  • String
Source:
Type:
  • String
Source:

(inner) name :String

The localized name of the promotion.

Type:
  • String
Source:

(inner) promotion_id :String

The unique id of the promotion.

Type:
  • String
Source:

(inner) title :String

Type:
  • String
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated PromotionLink instance.

Type
module:models/PromotionLink