GetCartRequest 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 cart specified by cart id.
Optionally creates a new one if the flag to create is set and no cart was found.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Messages
Assembly: Microsoft.Dynamics.Commerce.Runtime.Messages (in Microsoft.Dynamics.Commerce.Runtime.Messages.dll)
Syntax
'Declaration
<DataContractAttribute> _
Public Class GetCartRequest _
Inherits Request
'Usage
Dim instance As GetCartRequest
[DataContractAttribute]
public class GetCartRequest : Request
[DataContractAttribute]
public ref class GetCartRequest : public Request
Inheritance Hierarchy
System.Object
Microsoft.Dynamics.Commerce.Runtime.Messages.Request
Microsoft.Dynamics.Commerce.Runtime.Messages.GetCartRequest
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.