GetCartRequestHandler Class
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Gets the shopping cart specified by cart id and optionally calculates the totals on the cart.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Workflow
Assembly: Microsoft.Dynamics.Commerce.Runtime.Workflow (in Microsoft.Dynamics.Commerce.Runtime.Workflow.dll)
Syntax
'Declaration
Public NotInheritable Class GetCartRequestHandler _
Inherits WorkflowRequestHandler(Of GetCartRequest, GetCartResponse)
'Usage
Dim instance As GetCartRequestHandler
public sealed class GetCartRequestHandler : WorkflowRequestHandler<GetCartRequest, GetCartResponse>
public ref class GetCartRequestHandler sealed : public WorkflowRequestHandler<GetCartRequest^, GetCartResponse^>
Remarks
Upon calculating the totals, the cart is saved to the database.
Inheritance Hierarchy
System.Object
Microsoft.Dynamics.Commerce.Runtime.Workflow.WorkflowRequestHandler<GetCartRequest, GetCartResponse>
Microsoft.Dynamics.Commerce.Runtime.Workflow.GetCartRequestHandler
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.