Class ProductVariationAttribute

Represents a product variation attribute

PropertyDescription
ID: String (read-only)Returns the ID of the product variation attribute.
attributeID: String (read-only)Returns the ID of the product attribute defintion related to this variation attribute.
displayName: String (read-only)Returns the display name for the product variation attribute, which can be used in the user interface.

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

MethodDescription
getAttributeID()Returns the ID of the product attribute defintion related to this variation attribute.
getDisplayName()Returns the display name for the product variation attribute, which can be used in the user interface.
getID()Returns the ID of the product variation attribute.

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 ID of the product variation attribute.


attributeID: String (read-only)

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().


displayName: String (read-only)

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


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(): 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(): String

Returns the ID of the product variation attribute.

Returns:

  • the ID of the product variation attribute.