Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Script > dw.campaign
dw.campaign
Class SlotContent
Object
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.
getCustom() : Map
Returns the custom attributes for the slot.
getRecommenderName() : String
Returns the recommender name for slot configurations of type 'Recommendation'
getSlotID() : String
Returns the unique slot ID.
Methods inherited from class Object
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'

getSlotID
getSlotID() : String
Returns the unique slot ID.
Returns:
ID of the slot.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.