Class SlotContent
Represents content for a slot.
| Property | Description |
|---|---|
calloutMsg: MarkupText (read-only) | Returns the callout message for the slot. |
content: Collection (read-only) | Returns a collection of content based on the content type for the slot. |
custom: Map (read-only) | Returns the custom attributes for the slot. |
recommenderName: String (read-only) | Returns the recommender name for slot configurations of type 'Recommendation' |
slotID: String (read-only) | Returns the unique slot ID. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getCalloutMsg() | Returns the callout message for the slot. |
| getContent() | Returns a collection of content based on the content type for the slot. |
| getCustom() | Returns the custom attributes for the slot. |
| getRecommenderName() | Returns the recommender name for slot configurations of type 'Recommendation' |
| getSlotID() | Returns the unique slot ID. |
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 callout message for the slot.
- content: Collection
(read-only) Returns a collection of content based on the content type for the slot. The collection will include one of the following types: Product, Content, Category, or MarkupText.
- custom: Map
(read-only) Returns the custom attributes for the slot.
- recommenderName: String
(read-only) Returns the recommender name for slot configurations of type 'Recommendation'
- slotID: String
(read-only) Returns the unique slot ID.
- getCalloutMsg(): MarkupText
Returns the callout message for the slot.
Returns:
- Callout message of the slot.
- getContent(): Collection
Returns a collection of content based on the content type for the slot. The collection will include one of the following types: Product, Content, Category, or MarkupText.
Returns:
- All content of the slot.
- getCustom(): Map
Returns the custom attributes for the slot.
Returns:
- Custom attributes of the slot.
- getRecommenderName(): String
Returns the recommender name for slot configurations of type 'Recommendation'
Returns:
- the recommender name for slot configurations of type 'Recommendation'
- getSlotID(): String
Returns the unique slot ID.
Returns:
- ID of the slot.