Share via


GetPromotionsRequest 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 with promotions lines for the cart and for the cart items.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Messages
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Messages (in Microsoft.Dynamics.Commerce.Runtime.Messages.dll)

Syntax

'Declaration
<DataContractAttribute> _
Public Class GetPromotionsRequest _
    Inherits Request
'Usage
Dim instance As GetPromotionsRequest
[DataContractAttribute]
public class GetPromotionsRequest : Request
[DataContractAttribute]
public ref class GetPromotionsRequest : public Request

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Commerce.Runtime.Messages.Request
    Microsoft.Dynamics.Commerce.Runtime.Messages.GetPromotionsRequest

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.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime.Messages Namespace