Callback done after each fetch call
The app name used for calls from this SDK. Used for the Eva-User-Agent header field value
The app version used for calls from this SDK. Used for the Eva-User-Agent header field value
Can be used to set the EVA-IDs-Mode
header which can be used to let the EVA
backend to use external identifiers instead of EVA identifiers for
things like products.
Is usually set using the service settings but can be overridden per call
using this setting
Used to populate the EVA-IDs-BackendSystemID
header which can be sent
along with the EVA-IDs-Mode
header to enable response metadata to help
with mapping identifiers between EVA and an external system
Callback done before each fetch call
Cart changes post-login filter out older order lines. This ensure we do not get changes from an anonymous cart being claimed. Newer lines can include welcome gift for instance. Default allowed age is 300000ms (5 minutes)
The callback variant for the change stream
The settings change stream Not all settings are emitted. Only the following:
The client name used for calls from this SDK. Used for the ClientName header field value
The client version used for calls from this SDK. Used for the ClientVersion header field value
The EVA communicator backend end point URL that will be used for signalr
Can be used by clients to set the current station ID header value
This should always reflect the ID from the station of the ListStationsForOrganization
response
Whether this is an employee app or not, we will use to determine whether to add an extra property to some services
The default included product properties for services such as:
This is not an exhaustive list. In a service request these can be either called IncludedFields or ProductProperties.
By default the sentinel will handle parseBarcode calls when it is
available. Use this setting to disable that behavior.
You can always use sentinel.performance.parseBarcode(..)
manually
Enables sorting of discount tiers on from value before calculating tier change
Optional chain to fetch availability indication for the products in the cart
Enabled debug logging for the SDK
The EVA backend end point URL that will be used for all requests
Add product to order placeholder are stacked by default Meaning that if the product is already in the cart no placeholder will be added
This setting can be used to keep using the last known sentinel endpoint when the application configuration has none defined Useful for debugging and fixed store deployments
Can be used to set the EVA-Requested-OrganizationUnitID
header.
This is used to select a specific organization unit when making calls without
a specific user token by ID.
Can be used to set the EVA-Requested-OrganizationUnit-Query
header.
This is used to select a specific organization unit when making calls without
a specific user token using an exact match query on name and backend id.
The EVA Sentinel backend end point URL that will be used for on premise features
Getter method for the applicationToken
Sets the user token and emits the changed value
Getter method for the applicationToken
Sets the user token and emits the changed value
Getter method for the defaultToken
Sets the user token and emits the changed value
Getter method for the language
Sets the language and emits the changed value
Getter method for the sentinel endpoint
Sets the sentinel endpoint and emits the changed value
Getter method for the userToken
Sets the user token and emits the changed value
Retrieves a previously stored state
The users identifier
Removes all cached states
Removes any save state for a user
Saves a users state in memory for reuse
The state to preserve
The additional request options for the getOrder state. Defaults are set to retrieve the most logical data needed during the checkout. Shipping methods, payment methods, etc.
The additional request options for the searchProducts state. Defaults are to enable retrieving of availability and discounts
The additional request options for the getShoppingCart state. Defaults are set to retrieve the most logical data needed before entering the checkout. Discounts, product requirements, etc.
Settings for the EVA Redux SDK