Class CategoryAssignment
Represents a category assignment in Commerce Cloud Digital.
| Property | Description |
|---|---|
calloutMsg: MarkupText (read-only) | Returns the category assignment's callout message in the current locale. |
category: Category (read-only) | Returns the category to which this category assignment is bound. |
image: MediaFile (read-only) | Returns the category assignment's image. |
longDescription: MarkupText (read-only) | Returns the category assignment's long description in the current locale. |
name: String (read-only) | Returns the name of the category assignment in the current locale. |
product: Product (read-only) | Returns the product to which this category assignment is bound. |
shortDescription: MarkupText (read-only) | Returns the category assignment's short description in the current locale. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getCalloutMsg() | Returns the category assignment's callout message in the current locale. |
| getCategory() | Returns the category to which this category assignment is bound. |
| getImage() | Returns the category assignment's image. |
| getLongDescription() | Returns the category assignment's long description in the current locale. |
| getName() | Returns the name of the category assignment in the current locale. |
| getProduct() | Returns the product to which this category assignment is bound. |
| getShortDescription() | Returns the category assignment's short description in the current locale. |
getCreationDate, getLastModified, getUUID
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
- calloutMsg: MarkupText
(read-only) Returns the category assignment's callout message in the current locale.
- category: Category
(read-only) Returns the category to which this category assignment is bound.
- image: MediaFile
(read-only) Returns the category assignment's image.
- longDescription: MarkupText
(read-only) Returns the category assignment's long description in the current locale.
- name: String
(read-only) Returns the name of the category assignment in the current locale.
- product: Product
(read-only) Returns the product to which this category assignment is bound.
- shortDescription: MarkupText
(read-only) Returns the category assignment's short description in the current locale.
- 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(): Category
Returns the category to which this category assignment is bound.
Returns:
- The category to which this category assignment is bound.
- getImage(): MediaFile
Returns the category assignment's image.
Returns:
- the category assignment's image.
- 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(): 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(): Product
Returns the product to which this category assignment is bound.
Returns:
- The product to which this category assignment is bound.
- 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.