Script: Class dw.catalog.ProductOptionValue

Class ProductOptionValue

Represents the value of a product option.

Properties

description : String Read Only

The the product option value's description in the current locale.

displayValue : String Read Only

The the product option value's display name in the current locale.

ID : String Read Only

The product option value's ID.

productIDModifier : String Read Only

The product option value's product ID modifier which can be used to build the SKU for the actual product.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getDescription() : String

Returns the the product option value's description in the current locale.

getDisplayValue() : String

Returns the the product option value's display name in the current locale.

getID() : String

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.

Methods inherited from class ExtensibleObject

describe, getCustom

Methods inherited from class PersistentObject

getCreationDate, getLastModified, getUUID

Methods inherited from class Object

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

Method Detail

getDescription

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

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

getID() : String

Returns the product option value's ID.

Returns:

the product option value's ID.


getProductIDModifier

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.