menu

SFRA / Server-side JS / Class: stores

stores

The stores model

Constructor

new stores(storesResultsObject, searchKey, searchRadius, actionUrl, apiKey)

Parameters:
Name Type Description
storesResultsObject dw.util.Set

a set of <dw.catalog.Store> objects

searchKey Object

what the user searched by (location or postal code)

searchRadius number

the radius used in the search

actionUrl dw.web.URL

a relative url

apiKey string

the google maps api key that is set in site preferences

Source:

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.