Session Service
A service to handle the Get, Update and Clearing of the Session
Create
Task<UmbCheckoutSession> Get();Update
Name
Detail
Task<UmbCheckoutSession> Update(Basket basket);Clear
Task Clear();Last updated
A service to handle the Get, Update and Clearing of the Session
The session service is what creates and handles the creation, retrieval, updating and clearing of the UmbCheckout Basket within the .NET session.
You can access the session service by injecting ISessionService which can be found within the namespaceUmbCheckout.Core.Interfaces
Gets the current UmbCheckout session from the .NET session
Task<UmbCheckoutSession> Get();Updates the current UmbCheckout session or create a new session if not found
Parameters:
basket
The Basket
Task<UmbCheckoutSession> Update(Basket basket);Clears the UmbCheckout session from the .NET session
Task Clear();Last updated