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:
- Array.<module:models/BaseOption>
- Source:
(inner) baseProduct :String
Type:
- String
- Source:
(inner) categories :Array.<module:models/Category>
Type:
- Array.<module:models/Category>
- Source:
(inner) classifications :Array.<module:models/Classification>
Type:
- Array.<module:models/Classification>
- Source:
(inner) code :String
Type:
- String
- Source:
(inner) description :String
Type:
- String
- Source:
(inner) futureStocks :Array.<module:models/FutureStock>
Type:
- Array.<module:models/FutureStock>
- Source:
(inner) images :Array.<module:models/Image>
Type:
- Array.<module:models/Image>
- 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:
- Array.<module:models/Promotion>
- Source:
(inner) price :module:models/Price
Type:
- Source:
(inner) purchasable :Boolean
Type:
- Boolean
- Source:
(inner) reviews :Array.<module:models/Review>
Type:
- Array.<module:models/Review>
- 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:
- Array.<module:models/VariantOption>
- Source:
(inner) variantType :String
Type:
- String
- Source:
(inner) volumePrices :Array.<module:models/Price>
Type:
- Array.<module:models/Price>
- 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.