Creates an instance of GetOrder
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 reducers for the fetchable data
The url to fetch the data from
Initial state with extended properties
Checks if the current order is in a state where payment can commence The actual payment is handled by the payment provider which will verify payment method specific requirements
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
Returns the error property as an observable stream
Return the current order as an observable stream
Retrieves a specific property path from this reducers state from the root state as an observable stream
The extended 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
Check if all the checkout steps have completed taking into account if you are doing a partial shipping checkout
Returns the isFetching property as an observable stream
Helper method to perform the placing of an order. There is an override option to allow a place order without a payment being performed.
The saga listener for this store section
Helper method to perform the shipping of an order Placing an order should have been performed first.
Helper method for an async-awaitable timeout
Implements GetOrder fetch for the Redux store