Class: VariantsResult
Methods
-
(static) create(jsonObject, factory, productSearchResult) → {VariantsResult}
-
Parameters:
- Source:
Returns:
-
Type
-
VariantsResult
-
getVariantById(id) → {Variant|null}
-
Parameters:
| Name |
Type |
Description |
id |
number
|
|
- Source:
Returns:
-
Type
-
Variant
|
null
-
getVariantsFound() → {Array.<Variant>}
-
- Source:
Returns:
-
Type
-
Array.<Variant>
-
getVariantsNotFound() → {Array.<number>}
-
- Source:
Returns:
-
Type
-
Array.<number>
-
hasVariantsFound() → {boolean}
-
- Source:
Returns:
-
Type
-
boolean
-
hasVariantsNotFound() → {boolean}
-
- Source:
Returns:
-
Type
-
boolean