Script: Class dw.catalog.ProductVariationAttribute

Class ProductVariationAttribute

  • Object
    • dw.catalog.ProductVariationAttribute

Represents a product variation attribute

Properties

attributeID : String Read Only

The ID of the product attribute defintion related to this variation attribute. This ID matches the value returned by ObjectAttributeDefinition.getID() for the appropriate product attribute definition. This ID is generally different than the ID returned by getID().

displayName : String Read Only

The display name for the product variation attribute, which can be used in the user interface.

ID : String Read Only

The ID of the product variation attribute.

Constructor Summary

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

Method Summary

getAttributeID() : String

Returns the ID of the product attribute defintion related to this variation attribute.

getDisplayName() : String

Returns the display name for the product variation attribute, which can be used in the user interface.

getID() : String

Returns the ID of the product variation attribute.

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

getAttributeID

getAttributeID() : String

Returns the ID of the product attribute defintion related to this variation attribute. This ID matches the value returned by ObjectAttributeDefinition.getID() for the appropriate product attribute definition. This ID is generally different than the ID returned by getID().

Returns:

the ID of the product attribute definition of this variation attribute.

getDisplayName

getDisplayName() : String

Returns the display name for the product variation attribute, which can be used in the user interface.

Returns:

the display name for the product variation attribute, which can be used in the user interface.


getID

getID() : String

Returns the ID of the product variation attribute.

Returns:

the ID of the product variation attribute.