Class ProductOptionValue
Represents the value of a product option.
| Property | Description |
|---|---|
ID: String (read-only) | Returns the product option value's ID. |
description: String (read-only) | Returns the the product option value's description in the current locale. |
displayValue: String (read-only) | Returns the the product option value's display name in the current locale. |
productIDModifier: String (read-only) | Returns the product option value's product ID modifier which can be used to build the SKU for the actual product. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getDescription() | Returns the the product option value's description in the current locale. |
| getDisplayValue() | Returns the the product option value's display name in the current locale. |
| getID() | Returns the product option value's ID. |
| getProductIDModifier() | Returns the product option value's product ID modifier which can be used to build the SKU for the actual product. |
getCreationDate, getLastModified, getUUID
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- ID: String
(read-only) Returns the product option value's ID.
- description: String
(read-only) Returns the the product option value's description in the current locale.
- displayValue: String
(read-only) Returns the the product option value's display name in the current locale.
- productIDModifier: String
(read-only) Returns the product option value's product ID modifier which can be used to build the SKU for the actual product.
- getDescription(): String
Returns the the product option value's description in the current locale.
Returns:
- The value of the product option value's description in the current locale, or null if it wasn't found.
- getDisplayValue(): String
Returns the the product option value's display name in the current locale.
Returns:
- The value of the product option value's display name in the current locale, or null if it wasn't found.
- getID(): String
Returns the product option value's ID.
Returns:
- the product option value's ID.
- getProductIDModifier(): String
Returns the product option value's product ID modifier which can be used to build the SKU for the actual product.
Returns:
- the product option value's product ID modifier which can be used to build the SKU for the actual product.