Class ProductVariationAttribute
Represents a product variation attribute
Property Summary
Property Description 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.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Method Description 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.
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
Property Details
ID
ID: String (read-only)
Returns the ID of the product variation attribute.
attributeID
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
displayName: String (read-only)
Returns the display name for the product variation attribute, which can be used in the
user interface.
Method Details
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.