DiscountApplicationRecord Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Provides an interface to the information written by the discount components from the marketing subsystem.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DiscountApplicationRecord _
    Inherits DiscountApplicationRecordBase _
    Implements ISerializable, IEnumerable
'Usage
Dim instance As DiscountApplicationRecord
[SerializableAttribute]
public class DiscountApplicationRecord : DiscountApplicationRecordBase, ISerializable, 
    IEnumerable
[SerializableAttribute]
public ref class DiscountApplicationRecord : public DiscountApplicationRecordBase, 
    ISerializable, IEnumerable
public class DiscountApplicationRecord extends DiscountApplicationRecordBase implements ISerializable, IEnumerable

Remarks

This class is used to store the ItemLevelDiscountsApplied and OrderLevelDiscountsApplied in the LineItem class. Most developers will use DiscountApplicationRecord to access the DiscountId, DiscountName, and DiscountAmount properties.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime..::.MappedStorageBase
    Microsoft.CommerceServer.Runtime.Orders..::.DiscountApplicationRecordBase
      Microsoft.CommerceServer.Runtime.Orders..::.DiscountApplicationRecord

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

DiscountApplicationRecord Members

Microsoft.CommerceServer.Runtime.Orders Namespace