Jaa


DiscountApplicationRecord Members

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.

The DiscountApplicationRecord type exposes the following members.

Constructors

  Name Description
Aa187002.pubmethod(en-US,CS.70).gif DiscountApplicationRecord Overloaded. Initializes a new instance of the DiscountApplicationRecord class.

Top

Methods

  Name Description
Aa187002.pubmethod(en-US,CS.70).gif Equals Returns a value that indicates whether the specified discount application record has the same discount ID as the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa187002.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa187002.pubmethod(en-US,CS.70).gif GetEnumerator Retrieves an enumerator that is used to enumerate over all weakly-typed properties of the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubmethod(en-US,CS.70).gif GetHashCode Returns a hash code based on the discount ID for the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the DiscountApplicationRecord. (Overrides DiscountApplicationRecordBase..::.GetObjectData(SerializationInfo, StreamingContext).)
Aa187002.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa187002.pubmethod(en-US,CS.70).gif LoadedFromStorage Called after the entire class graph is loaded from mapped storage to allow custom post-load marshaling. (Inherited from MappedStorageBase.)
Aa187002.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa187002.pubmethod(en-US,CS.70).gif SavedToStorage Called after saving a mapped class instance to storage to allow custom post-save marshaling. (Inherited from MappedStorageBase.)
Aa187002.pubmethod(en-US,CS.70).gif SavingToStorage Called prior to saving a mapped class instance to storage to allow custom pre-save marshaling. (Inherited from MappedStorageBase.)
Aa187002.pubmethod(en-US,CS.70).gif SetChildDirty Overloaded. Called by child class instances when a change occurs to child data members that are mapped to SQL storage.
Aa187002.pubmethod(en-US,CS.70).gif SetDirty Updates local and parent change information and allows automatic validation of the specified property data. (Overrides DiscountApplicationRecordBase..::.SetDirty(Object).)
Aa187002.pubmethod(en-US,CS.70).gif SetParent Updates parent and grandparent object references of a child class instance. (Overrides MappedStorageBase..::.SetParent(Object).)
Aa187002.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa187002.pubproperty(en-US,CS.70).gif BasketDisplayMessage Gets or sets the text describing the discount applied to the customer’s order. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif DiscountAmount Gets or sets the amount deducted from a line item or order. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif DiscountId Gets and sets the marketing system campaign item identifier. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif DiscountName Gets or sets the name of the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif DiscountValue Gets or sets a currency or percentage value for the discount. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif Item Gets or sets the DiscountApplicationRecord from the collection, based upon specified name. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif LastModified Gets or sets the last modified time of the discount in local time. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif LineItemId Gets the system-wide identifier for the current instance.
Aa187002.pubproperty(en-US,CS.70).gif OrderGroupId Gets the grandparent order group to which the current instance belongs. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif ParentLineItem Gets the parent line item that the current instance is associated with.
Aa187002.pubproperty(en-US,CS.70).gif Priority Gets or sets the discount priority or rank. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif PromoCode Gets or sets the code that the current discount is associated with (if applicable). (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif PromoCodeDefinitionId Gets or sets the ID of the PromoCodeDefinitionId definition. (Inherited from DiscountApplicationRecordBase.)
Aa187002.pubproperty(en-US,CS.70).gif StorageLoadInProgress Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.)
Aa187002.pubproperty(en-US,CS.70).gif TypeOfDiscount Gets or sets the meaning of the value stored in the discount value. (Inherited from DiscountApplicationRecordBase.)

Top

See Also

Reference

DiscountApplicationRecord Class

Microsoft.CommerceServer.Runtime.Orders Namespace