Builder
class Builder
Content copied to clipboard
Builder class of StorylyProductConfig
Constructors
Functions
build
Link copied to clipboard
This function builds StorylyProductConfig with the current properties
set Cart Availability
Link copied to clipboard
fun setCartAvailability(isEnabled: Boolean): StorylyProductConfig.Builder
Content copied to clipboard
This function allows you to set availability of cart
set Fallback Availability
Link copied to clipboard
fun setFallbackAvailability(isEnabled: Boolean): StorylyProductConfig.Builder
Content copied to clipboard
This function allows you to set enability of hydration from feed data from backend
set Price Formatter
Link copied to clipboard
fun setPriceFormatter(formatter: StoryPriceFormatter): StorylyProductConfig.Builder
Content copied to clipboard
set Product Feed
Link copied to clipboard
fun setProductFeed(feed: Map<String, List<STRProductItem>>?): StorylyProductConfig.Builder
Content copied to clipboard
This function allows you to set user specific product feed