Builder
class Builder( val itemId: String, val question: String, val seedItemId: String)
Content copied to clipboard
Builder for ProductInsightsAgentResultClickTrackingData
Constructors
Functions
Link copied to clipboard
Builds the ProductInsightsAgentResultClickTrackingData
Link copied to clipboard
fun setAnalyticsTags(analyticsTags: Map<String, String>): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets analyticsTags
Link copied to clipboard
fun setItemName(itemName: String): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets itemName
Link copied to clipboard
fun setPosition(position: Int): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets position
Link copied to clipboard
fun setQnaResultId(qnaResultId: String): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets qnaResultId
Link copied to clipboard
fun setSectionName(sectionName: String): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets sectionName
Link copied to clipboard
fun setSeedItemName(seedItemName: String): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets seedItemName
Link copied to clipboard
fun setSeedVariationId(seedVariationId: String): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets seedVariationId
Link copied to clipboard
fun setThreadId(threadId: String): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets threadId
Link copied to clipboard
fun setVariationId(variationId: String): ProductInsightsAgentResultClickTrackingData.Builder
Content copied to clipboard
Sets variationId
Properties
Link copied to clipboard
Additional analytics tags to pass. Merged with io.constructor.core.ConstructorIoConfig.defaultAnalyticsTags, with request-level values overriding defaults on key collision
Link copied to clipboard
The index section, i.e. "Products". Defaults to io.constructor.core.ConstructorIoConfig.defaultItemSection