Script: Class dw.catalog.CategoryAssignment
Class CategoryAssignment
- Object
- dw.object.PersistentObject
- dw.object.ExtensibleObject
- dw.catalog.CategoryAssignment
- dw.object.ExtensibleObject
- dw.object.PersistentObject
Represents a category assignment in Commerce Cloud Digital.
Properties
calloutMsg : MarkupText Read Only
The category assignment's callout message in the current locale.
category : Category Read Only
The category to which this category assignment is bound.
image : MediaFile Read Only
The category assignment's image.
longDescription : MarkupText Read Only
The category assignment's long description in the current locale.
name : String Read Only
The name of the category assignment in the current locale.
product : Product Read Only
The product to which this category assignment is bound.
shortDescription : MarkupText Read Only
The category assignment's short description in the current locale.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Returns the category assignment's callout message in the current locale.
getCategory() : Category
Returns the category to which this category assignment is bound.
Returns the category assignment's image.
getLongDescription() : MarkupText
Returns the category assignment's long description in the current locale.
Returns the name of the category assignment in the current locale.
getProduct() : Product
Returns the product to which this category assignment is bound.
getShortDescription() : MarkupText
Returns the category assignment's short description in the current locale.
Methods inherited from class ExtensibleObject
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
getCalloutMsg
getCalloutMsg() : MarkupText
Returns the category assignment's callout message in the current locale.
Returns:
the category assignment's callout message in the current locale, or null if it wasn't found.
getCategory
getCategory() : Category
Returns the category to which this category assignment is bound.
Returns:
The category to which this category assignment is bound.
getImage
getImage() : MediaFile
Returns the category assignment's image.
Returns:
the category assignment's image.
getLongDescription
getLongDescription() : MarkupText
Returns the category assignment's long description in the current locale.
Returns:
The category assignment's long description in the current locale, or null if it wasn't found.
getName
getName() : String
Returns the name of the category assignment in the current locale.
Returns:
The name of the category assignment for the current locale, or null if it wasn't found.
getProduct
getProduct() : Product
Returns the product to which this category assignment is bound.
Returns:
The product to which this category assignment is bound.
getShortDescription
getShortDescription() : MarkupText
Returns the category assignment's short description in the current locale.
Returns:
the category assignment's short description in the current locale, or null if it wasn't found.