Creates an instance of GetShoppingCartInfo
The actions for the fetchable data
The dispatch count. Used for the dispatchId
The store section name Used to name the rootState member and postfixed to all actions
The amount of cart add/update calls pending
The reducers for the fetchable data
The url to fetch the data from
Initial state
Helper method to add items to the cart while automatically managing order creation
Create a fetch action using the class request type This helper will setup and add promises for the fetch call and any chain that is triggered
TODO: If typings provide optional-ness correctly we can remove the Partial
NOTE: omitSessionId is deprecated but remains to not mess up parameter ordering
Create a response action using the class response type
Retrieves the requested data from the EVA backend
The redux action
Helper method to consistently get the current order id
Returns the error property as an observable stream
Retrieves a specific property path from this reducers state from the root state as an observable stream
The collection of reducer functions
Returns the response property as an observable stream
Returns the response property as an observable stream
Retrieves section specific state from the root state
Retrieves section specific state from the root state as an observable stream
The observable stream
Expose a helper function to get the full url
Returns the isFetching property as an observable stream
Helper method to modify the current order
The saga listener for this store section
Helper method for an async-awaitable timeout
Implements GetShoppingCartInfo fetch for the Redux store