Class: module:models/ProductOCC1

module:models/ProductOCC1()

new module:models/ProductOCC1()

Constructs a new ProductOCC1.

Source:

Members

(inner) availableForPickup :Boolean

Type:
  • Boolean
Source:

(inner) averageRating :Number

Type:
  • Number
Source:

(inner) baseOptions :Array.<module:models/BaseOption>

Type:
Source:

(inner) baseProduct :String

Type:
  • String
Source:

(inner) categories :Array.<module:models/Category>

Type:
Source:

(inner) classifications :Array.<module:models/Classification>

Type:
Source:

(inner) code :String

Type:
  • String
Source:

(inner) description :String

Type:
  • String
Source:

(inner) futureStocks :Array.<module:models/FutureStock>

Type:
Source:

(inner) images :Array.<module:models/Image>

Type:
Source:

(inner) manufacturer :String

Type:
  • String
Source:

(inner) name :String

Type:
  • String
Source:

(inner) numberOfReviews :Number

Type:
  • Number
Source:

(inner) potentialPromotions :Array.<module:models/Promotion>

Type:
Source:

(inner) price :module:models/Price

Type:
Source:

(inner) purchasable :Boolean

Type:
  • Boolean
Source:

(inner) reviews :Array.<module:models/Review>

Type:
Source:

(inner) stock :module:models/Stock

Type:
Source:

(inner) summary :String

Type:
  • String
Source:

(inner) url :String

Type:
  • String
Source:

(inner) variantOptions :Array.<module:models/VariantOption>

Type:
Source:

(inner) variantType :String

Type:
  • String
Source:

(inner) volumePrices :Array.<module:models/Price>

Type:
Source:

(inner) volumePricesFlag :Boolean

Type:
  • Boolean
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated ProductOCC1 instance.

Type
module:models/ProductOCC1