dw.campaign
Class SlotContent
dw.campaign.SlotContent
Represents content for a slot.
Properties
calloutMsg
:
MarkupText
(Read Only)
The callout message for the slot.
content
:
Collection
(Read Only)
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)
The custom attributes for the slot.
recommenderName
:
String
(Read Only)
The recommender name for slot configurations of type 'Recommendation'
slotID
:
String
(Read Only)
The unique slot ID.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getCalloutMsg()
:
MarkupText
Returns the callout message for the slot.
getContent()
:
Collection
Returns a collection of content based on the content type for the slot.
getRecommenderName()
:
String
Returns the recommender name for slot configurations of type 'Recommendation'
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 callout message for the slot.
Returns:
Callout message of the slot.
getContent
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
getCustom()
:
Map
Returns the custom attributes for the slot.
Returns:
Custom attributes of the slot.
getRecommenderName
getRecommenderName()
:
String
Returns the recommender name for slot configurations of type 'Recommendation'
Returns:
the recommender name for slot configurations of type 'Recommendation'