Share via


SalesTransaction 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.

Represents a channel agnostic sales transaction.

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

Syntax

'Declaration
<DataContractAttribute> _
<KnownTypeAttribute(GetType(SalesOrder))> _
Public Class SalesTransaction _
    Inherits CommerceEntity
'Usage
Dim instance As SalesTransaction
[DataContractAttribute]
[KnownTypeAttribute(typeof(SalesOrder))]
public class SalesTransaction : CommerceEntity
[DataContractAttribute]
[KnownTypeAttribute(typeof(SalesOrder))]
public ref class SalesTransaction : public CommerceEntity

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Commerce.Runtime.DataModel.CommerceEntity
    Microsoft.Dynamics.Commerce.Runtime.DataModel.SalesTransaction
      Microsoft.Dynamics.Commerce.Runtime.DataModel.SalesOrder

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.DataModel Namespace